summaryrefslogtreecommitdiff
path: root/Xi/xibarriers.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-11-01 16:06:40 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-17 15:01:45 +1000
commite130a46ab45839f91b29ee75bf19a597dfe3da28 (patch)
tree5320c18af170b6d61f5bf03af5bdbf71c8779882 /Xi/xibarriers.h
parent85a37ddcc2ff49adaec4075532b60e7d015f901c (diff)
Add support for XI2.3: Pointer barrier events and releases.
This adds support for clients that would like to get a notification every time a barrier is hit, and allows clients to temporarily release a barrier so that pointers can go through them, without having to destroy and recreate barriers. Based on work by Chris Halse Rogers <chris.halse.rogers@canonical.com> Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xibarriers.h')
-rw-r--r--Xi/xibarriers.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Xi/xibarriers.h b/Xi/xibarriers.h
index 8f2993f85..f29bb6c8f 100644
--- a/Xi/xibarriers.h
+++ b/Xi/xibarriers.h
@@ -39,9 +39,7 @@ XIDestroyPointerBarrier(ClientPtr client,
Bool
XIBarrierInit(void);
-#endif /* _XIBARRIERS_H_ */
-
-
-
-
+int SProcXIBarrierReleasePointer(ClientPtr client);
+int ProcXIBarrierReleasePointer(ClientPtr client);
+#endif /* _XIBARRIERS_H_ */