summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-24 14:04:25 +1000
committerDave Airlie <airlied@redhat.com>2011-03-28 10:06:32 +1000
commiteb9266c7176eb240a85e72beda9b6033338294f1 (patch)
tree0680929f235ebe16e2974e7ed33f03c35d8cffc1 /include
parent03f45df93469f6aef391e97007b9614e0770cc4c (diff)
consolidate SetRootClip (v2)
each DDX has its own copy, I've taken the darwin one, though I'm not sure why it needs the pOldClip piece that nobody else has and the commit msg is like an "Updates from magic land" type message. This removes the main uses of pWin->winSize from the DDXen. v2: drop old clip like ajax suggests. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/window.h b/include/window.h
index 6fb2f8c18..1e4e9bfa4 100644
--- a/include/window.h
+++ b/include/window.h
@@ -266,4 +266,5 @@ extern _X_EXPORT void DisableMapUnmapEvents(
extern _X_EXPORT void EnableMapUnmapEvents(
WindowPtr /* pWin */ );
+extern _X_EXPORT void SetRootClip(ScreenPtr pScreen, Bool enable);
#endif /* WINDOW_H */