summaryrefslogtreecommitdiff
path: root/hw/xwin/win.h
diff options
context:
space:
mode:
authorPierre-Loup A. Griffais <pgriffais@nvidia.com>2010-05-27 09:11:50 -0700
committerKeith Packard <keithp@keithp.com>2010-06-02 21:11:31 -0700
commit643cb6e87c10ab554c03ada81930001a8ebcc909 (patch)
tree1a833b1d1bee3013ce8e6c3bfb60bb77b66b889f /hw/xwin/win.h
parentd90f2cd98a97e6534792d3867b3fba70d850b706 (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/win.h')
-rw-r--r--hw/xwin/win.h4
1 files changed, 2 insertions, 2 deletions
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);