diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/dmx/dmxwindow.c | 4 | ||||
-rw-r--r-- | hw/dmx/dmxwindow.h | 2 | ||||
-rw-r--r-- | hw/xnest/Window.c | 4 | ||||
-rw-r--r-- | hw/xnest/XNWindow.h | 2 | ||||
-rw-r--r-- | hw/xwin/win.h | 4 | ||||
-rw-r--r-- | hw/xwin/winmultiwindowshape.c | 6 | ||||
-rw-r--r-- | hw/xwin/winwindow.c | 6 |
7 files changed, 14 insertions, 14 deletions
diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c index 39af51032..5b0baff3a 100644 --- a/hw/dmx/dmxwindow.c +++ b/hw/dmx/dmxwindow.c @@ -991,7 +991,7 @@ static void dmxDoSetShape(WindowPtr pWindow) } /** Set shape of \a pWindow on the back-end server. */ -void dmxSetShape(WindowPtr pWindow) +void dmxSetShape(WindowPtr pWindow, int kind) { ScreenPtr pScreen = pWindow->drawable.pScreen; DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum]; @@ -1000,7 +1000,7 @@ void dmxSetShape(WindowPtr pWindow) DMX_UNWRAP(SetShape, dmxScreen, pScreen); #if 1 if (pScreen->SetShape) - pScreen->SetShape(pWindow); + pScreen->SetShape(pWindow, kind); #endif if (pWinPriv->window) { diff --git a/hw/dmx/dmxwindow.h b/hw/dmx/dmxwindow.h index 740a21f0b..8bd1f74bd 100644 --- a/hw/dmx/dmxwindow.h +++ b/hw/dmx/dmxwindow.h @@ -94,7 +94,7 @@ extern void dmxResizeRootWindow(WindowPtr pRoot, extern Bool dmxBEDestroyWindow(WindowPtr pWindow); /* Support for shape extension */ -extern void dmxSetShape(WindowPtr pWindow); +extern void dmxSetShape(WindowPtr pWindow, int kind); /** Private index. \see dmxwindow.c \see dmxscrinit.c */ extern DevPrivateKey dmxWinPrivateKey; diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 48c870fac..11d53694e 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -423,10 +423,10 @@ xnestWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_exposed) } void -xnestSetShape(WindowPtr pWin) +xnestSetShape(WindowPtr pWin, int kind) { xnestShapeWindow(pWin); - miSetShape(pWin); + miSetShape(pWin, kind); } static Bool diff --git a/hw/xnest/XNWindow.h b/hw/xnest/XNWindow.h index b59d86a97..92a190208 100644 --- a/hw/xnest/XNWindow.h +++ b/hw/xnest/XNWindow.h @@ -66,7 +66,7 @@ void xnestCopyWindow(WindowPtr pWin, xPoint oldOrigin, RegionPtr oldRegion); void xnestClipNotify(WindowPtr pWin, int dx, int dy); void xnestWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_exposed); -void xnestSetShape(WindowPtr pWin); +void xnestSetShape(WindowPtr pWin, int kind); void xnestShapeWindow(WindowPtr pWin); #endif /* XNESTWINDOW_H */ diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 26bb856e9..49b73d746 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -1204,7 +1204,7 @@ Bool winMapWindowRootless (WindowPtr pWindow); void -winSetShapeRootless (WindowPtr pWindow); +winSetShapeRootless (WindowPtr pWindow, int kind); /* @@ -1226,7 +1226,7 @@ void winReshapeMultiWindow (WindowPtr pWin); void -winSetShapeMultiWindow (WindowPtr pWindow); +winSetShapeMultiWindow (WindowPtr pWindow, int kind); void winUpdateRgnMultiWindow (WindowPtr pWindow); diff --git a/hw/xwin/winmultiwindowshape.c b/hw/xwin/winmultiwindowshape.c index 353235760..597eab62c 100644 --- a/hw/xwin/winmultiwindowshape.c +++ b/hw/xwin/winmultiwindowshape.c @@ -41,17 +41,17 @@ */ void -winSetShapeMultiWindow (WindowPtr pWin) +winSetShapeMultiWindow (WindowPtr pWin, int kind) { ScreenPtr pScreen = pWin->drawable.pScreen; winScreenPriv(pScreen); #if CYGMULTIWINDOW_DEBUG - ErrorF ("winSetShapeMultiWindow - pWin: %08x\n", pWin); + ErrorF ("winSetShapeMultiWindow - pWin: %08x kind: %i\n", pWin, kind); #endif WIN_UNWRAP(SetShape); - (*pScreen->SetShape)(pWin); + (*pScreen->SetShape)(pWin, kind); WIN_WRAP(SetShape, winSetShapeMultiWindow); /* Update the Windows window's shape */ diff --git a/hw/xwin/winwindow.c b/hw/xwin/winwindow.c index 30b672941..d0c360f34 100644 --- a/hw/xwin/winwindow.c +++ b/hw/xwin/winwindow.c @@ -451,17 +451,17 @@ winMapWindowRootless (WindowPtr pWin) void -winSetShapeRootless (WindowPtr pWin) +winSetShapeRootless (WindowPtr pWin, int kind) { ScreenPtr pScreen = pWin->drawable.pScreen; winScreenPriv(pScreen); #if CYGDEBUG - winTrace ("winSetShapeRootless (%p)\n", pWin); + winTrace ("winSetShapeRootless (%p, %i)\n", pWin, kind); #endif WIN_UNWRAP(SetShape); - (*pScreen->SetShape)(pWin); + (*pScreen->SetShape)(pWin, kind); WIN_WRAP(SetShape, winSetShapeRootless); winReshapeRootless (pWin); |