summaryrefslogtreecommitdiff
path: root/Xi/xibarriers.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-11-27 15:31:52 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-17 15:03:07 +1000
commit707b4dc61f18960611409ef5ad8947be189f7296 (patch)
treea995a9644d4314aaf96ef332a97df5bb36eb900c /Xi/xibarriers.h
parent0a5a0d7c242add4d79721c1b90073b603a475534 (diff)
barriers: Support line and ray barriers
This allows clients to add barriers that extend to the edge of the screen. Clients are encouraged to use these instead of precise coordinates in these cases to help prevent pointer leaks. Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xibarriers.h')
-rw-r--r--Xi/xibarriers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xibarriers.h b/Xi/xibarriers.h
index f29bb6c8f..bdcb0b289 100644
--- a/Xi/xibarriers.h
+++ b/Xi/xibarriers.h
@@ -11,7 +11,7 @@
extern _X_EXPORT RESTYPE PointerBarrierType;
struct PointerBarrier {
- CARD16 x1, x2, y1, y2;
+ INT16 x1, x2, y1, y2;
CARD32 directions;
};