diff options
author | Adam Jackson <ajax@redhat.com> | 2008-07-24 09:00:22 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-07-24 15:46:08 -0400 |
commit | d6228cb22aa89b90834d80d98b91862c1fc01b54 (patch) | |
tree | 4e284d35f26e728cfe5c4502f25ddf1c5591aa58 /mi/mioverlay.c | |
parent | 990fc643ae90c034187707e7de414d80640ec6da (diff) |
Shape extension is built-in and mandatory.
Diffstat (limited to 'mi/mioverlay.c')
-rw-r--r-- | mi/mioverlay.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mi/mioverlay.c b/mi/mioverlay.c index 6ddcc052d..77687fb0c 100644 --- a/mi/mioverlay.c +++ b/mi/mioverlay.c @@ -80,9 +80,7 @@ static void miOverlayResizeWindow(WindowPtr, int, int, unsigned int, unsigned int, WindowPtr); static void miOverlayClearToBackground(WindowPtr, int, int, int, int, Bool); -#ifdef SHAPE static void miOverlaySetShape(WindowPtr); -#endif static void miOverlayChangeBorderWidth(WindowPtr, unsigned int); #define MIOVERLAY_GET_SCREEN_PRIVATE(pScreen) ((miOverlayScreenPtr) \ @@ -148,9 +146,7 @@ miInitOverlay( pScreen->ResizeWindow = miOverlayResizeWindow; pScreen->MarkWindow = miOverlayMarkWindow; pScreen->ClearToBackground = miOverlayClearToBackground; -#ifdef SHAPE pScreen->SetShape = miOverlaySetShape; -#endif pScreen->ChangeBorderWidth = miOverlayChangeBorderWidth; return TRUE; @@ -480,7 +476,6 @@ miOverlayComputeClips( break; case rgnPART: newVis = VisibilityPartiallyObscured; -#ifdef SHAPE { RegionPtr pBounding; @@ -499,7 +494,6 @@ miOverlayComputeClips( } } } -#endif break; default: newVis = VisibilityFullyObscured; @@ -1522,7 +1516,6 @@ miOverlayResizeWindow( } -#ifdef SHAPE static void miOverlaySetShape(WindowPtr pWin) { @@ -1584,7 +1577,6 @@ miOverlaySetShape(WindowPtr pWin) WindowsRestructured (); CheckCursorConfinement(pWin); } -#endif |