diff options
author | Keith Packard <keithp@keithp.com> | 2004-06-04 16:10:50 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2004-06-04 16:10:50 +0000 |
commit | f8a1dd3ce725195baa6f38a880299752c6c6c2c4 (patch) | |
tree | 0eab1005fa901cd83c8877f01c8418fa08d9c140 | |
parent | 6741fadc52598af0096f106a2cefd640abb434b3 (diff) |
Add top-level build support for GL X server (not working yet)
Fix a few allocation bugs with alternate visual ids Allow for non-8/8/8
alternate visuals
Turn off any existing shadow before enabling it again (avoids
re-registering existing damage)
Add some validation code to catch re-registered damages
-rw-r--r-- | hw/kdrive/src/kshadow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/kdrive/src/kshadow.c b/hw/kdrive/src/kshadow.c index f4b593f26..285adf1d2 100644 --- a/hw/kdrive/src/kshadow.c +++ b/hw/kdrive/src/kshadow.c @@ -68,13 +68,12 @@ KdShadowSet (ScreenPtr pScreen, int randr, ShadowUpdateProc update, ShadowWindow KdScreenInfo *screen = pScreenPriv->screen; int fb; + shadowUnset (pScreen); for (fb = 0; fb < KD_MAX_FB && screen->fb[fb].depth; fb++) { if (screen->fb[fb].shadow) return shadowSet (pScreen, (*pScreen->GetScreenPixmap) (pScreen), update, window, randr, 0); - else - shadowUnset (pScreen); } return TRUE; } |