diff options
author | Pierre-Loup A. Griffais <pgriffais@nvidia.com> | 2010-05-27 09:11:50 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-02 21:11:31 -0700 |
commit | 643cb6e87c10ab554c03ada81930001a8ebcc909 (patch) | |
tree | 1a833b1d1bee3013ce8e6c3bfb60bb77b66b889f /hw/xwin/winmultiwindowshape.c | |
parent | d90f2cd98a97e6534792d3867b3fba70d850b706 (diff) |
Only deal with input code when changing the input shape.
Propagate the shape kind all the way to SetShape to avoid performing non-input
operations such as revalidating the tree and generating exposures when only
changing a window's input shape.
Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com>
Acked-by: Aaron Plattner<aplattner@nvidia.com>
Reviewed-by: Daniel Stone<daniel@fooishbar.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwin/winmultiwindowshape.c')
-rw-r--r-- | hw/xwin/winmultiwindowshape.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |