xserver/hw/kdrive/src kdrive.c,1.40,1.41
Keith Packard
xserver-commit@pdx.freedesktop.org
Thu Jan 20 12:51:29 PST 2005
Committed by: keithp
Update of /cvs/xserver/xserver/hw/kdrive/src
In directory gabe:/tmp/cvs-serv6014
Modified Files:
kdrive.c
Log Message:
Reinitialize offscreen memory before enabling cursor on VT switch-to
Index: kdrive.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/src/kdrive.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- kdrive.c 13 Nov 2004 16:41:00 -0000 1.40
+++ kdrive.c 20 Jan 2005 20:51:27 -0000 1.41
@@ -303,11 +303,11 @@
return FALSE;
pScreenPriv->enabled = TRUE;
pScreenPriv->card->selected = pScreenPriv->screen->mynum;
+ KdOffscreenSwapIn (pScreen);
if (!pScreenPriv->screen->softCursor && pScreenPriv->card->cfuncs->enableCursor)
(*pScreenPriv->card->cfuncs->enableCursor) (pScreen);
if (!pScreenPriv->screen->dumb && pScreenPriv->card->cfuncs->enableAccel)
(*pScreenPriv->card->cfuncs->enableAccel) (pScreen);
- KdOffscreenSwapIn (pScreen);
KdEnableColormap (pScreen);
KdSetRootClip (pScreen, TRUE);
if (pScreenPriv->card->cfuncs->dpms)
More information about the xserver-commit
mailing list