summaryrefslogtreecommitdiff
path: root/hw/kdrive/smi
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-11-07 23:29:29 +0000
committerKeith Packard <keithp@keithp.com>2003-11-07 23:29:29 +0000
commit1280f79054dc16ccf321006cd2de53e0f53c7b70 (patch)
treeac4407e62100fdefc489561c85926cc913ea8572 /hw/kdrive/smi
parentd319a0a610c90524ad29cab3c6d4d21b5298fc7f (diff)
Ok, Composite extension is semi-working; when no-one asks for redirection,
the server seems to act as before. With RedirectSubwindows (root, automatic), the server looks just like a regular X server. Now to go rewrite the (currently lame) compositing manager to get some real action on the screen. Some of the fixes here are to make valgrind quiet with various ioctls used by kdrive/linux. Also fixed a bug where fbdev initialization was out of order in fbdev.c and smi.c
Diffstat (limited to 'hw/kdrive/smi')
-rw-r--r--hw/kdrive/smi/smi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/smi/smi.c b/hw/kdrive/smi/smi.c
index aaa0b8356..635fca4da 100644
--- a/hw/kdrive/smi/smi.c
+++ b/hw/kdrive/smi/smi.c
@@ -62,6 +62,7 @@ smiScreenInit (KdScreenInfo *screen)
if (!smis)
return FALSE;
memset (smis, '\0', sizeof (SmiScreenInfo));
+ screen->driver = smis;
if (!subScreenInitialize (screen, &smis->sub))
{
xfree (smis);
@@ -75,7 +76,6 @@ smiScreenInit (KdScreenInfo *screen)
#else
smis->screen = smic->sub.fb;
#endif
- screen->driver = smis;
LEAVE();
return TRUE;
}