diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-11 12:19:26 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-22 14:35:44 +1000 |
commit | 703baece7ebd128a6742d0523d5b3ebe65126fa5 (patch) | |
tree | 4304c0989e1be7c8a176917c4bf24718a503ead8 /include/dix.h | |
parent | 77af45ebc3eda32dc534968cab8d5adfb01bd9e3 (diff) |
dix: Add IsFloating(device) wrapper.
Simplifies check for floating devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
Diffstat (limited to 'include/dix.h')
-rw-r--r-- | include/dix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h index 12e4b5977..3f99098a2 100644 --- a/include/dix.h +++ b/include/dix.h @@ -570,6 +570,7 @@ extern Bool _X_EXPORT IsPointerDevice( DeviceIntPtr dev); extern Bool _X_EXPORT IsKeyboardDevice(DeviceIntPtr dev); extern Bool IsPointerEvent(InternalEvent *event); extern _X_EXPORT Bool IsMaster(DeviceIntPtr dev); +extern _X_EXPORT Bool IsFloating(DeviceIntPtr dev); extern _X_HIDDEN void CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master); extern _X_HIDDEN int CorePointerProc(DeviceIntPtr dev, int what); |