summaryrefslogtreecommitdiff
path: root/include/X11
AgeCommit message (Collapse)Author
2013-04-05Require XFixes for PointerBarrier, remove duplicate typedefPeter Hutterer
The PointerBarrier typedef is duplicate if a client includes both Xfixes.h and XInput2.h. gcc 4.6 won't complain about that, but earlier versions do: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 gcc 4.6 with -pedantic-errors shows: /opt/xorg/include/X11/extensions/XInput2.h:172:13: error: redefinition of typedef ‘PointerBarrier’ [-pedantic] In file included from test.c:1:0: /opt/xorg/include/X11/extensions/Xfixes.h:255:13: note: previous declaration of ‘PointerBarrier’ was here Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
2012-12-09Add support for pointer barrier eventsJasper St. Pierre
Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-12-21Implement support for XI 2.2Peter Hutterer
Adds support for the new TouchClass for multitouch-capable servers/devices. New events: XITouchOwnershipEvent New event types handled: XITouchBegin, XITouchUpdate, XITouchEnd XIRawTouchBegin, XIRawTouchUpdate, XIRawTouchEnd New functions: XIGrabTouchBegin ... passive grabs on touches XIUngrabTouchBegin XIAllowTouchEvents ... Allow/reject touch event sequences New XIQueryDevice classes: XITouchClassInfo Requires libX11 1.5 for GetReqSized Co-authored by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-17Support XI 2.1 XIScrollClassPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-02-23Mark sourceid in Raw events as bug and force to 0..Peter Hutterer
The protocol does not provide a source ID for raw events, so this value is always 0. It shouldn't really be there, but the past is so hard to change. Reported-by: Mark Dokter <dokter@icg.tugraz.at> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-14Declare _xibad* functions before the Bad* macros.Peter Hutterer
Reported-by: Christian Beier Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-24Update XIWarpPointer to take doubles (inputproto >= 1.9.99.902)Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-04Cosmetic fix, move a 'char* name' to 'char *name'Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-22Replace keysym grabs with keycode grabs.Peter Hutterer
Keysym grabs are tricky to get right for applications that are more complicated than demo applications. otoh, we know keycode grabs are working. So let's go with keycode grabs for now and add keysym grabs later when we've sorted out the details. Requires inputproto 1.9.99.15 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Add flags to XIDeviceEvent and XIRawEvent.Daniel Stone
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Cater for new event-specific raw event types.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Reshuffle deviceid + sourceid in XI2 events to allow for common typecasting.Peter Hutterer
Except for two events, all events include a deviceid. Place it at the same position in the struct for these events to allow quick checking with common typecasts. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Add the deviceid to XI2 property events.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Remove padding from XIEvent.Peter Hutterer
The padding was originally to force the same size as the XEvent struct. This only works on 32 bit however, the 64-bit XEvent struct is larger. Let's just ignore the padding, there's no point to it anyway, all the Xlib functions require XEvents anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Switch to new XIEvent structures - no need for pointers anymore.Peter Hutterer
This removes all those pointers from event structures that were just there due to the pre-cookie struct size limit. Pointers remaining are only those that are of variable length (e.g. masks and valuator states). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Remove XIFreeEventData - obsolete with cookie events.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Add effective modifiers/group to events - require inputproto 1.9.99.13Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-08Change floats to doubles in DeviceEvents and EnterEvents.Peter Hutterer
All the other bits use doubles, there's no reason to use floats here.
2009-06-24Add typedefs for focus in/out events.Peter Hutterer
The events themselves are the same as enter/leave events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17Axis and button labels should be called labels, not names.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-16Include the current valuator state in XIQueryDevice.Peter Hutterer
2009-06-16XIButtonClass now includes a XIButtonState struct.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-12Fix a few wrong 'evtype' comments.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-12Add sourceid to device classes.Peter Hutterer
2009-06-09XIHierarchyEvent should list num_info, not num_devices.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Rename XICreateMaster to XIAddMaster for consistency.Peter Hutterer
add/remove is used for slave devices and for flags, so we should use it in XIChangeHierarchy as well. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Remove CamelCase use from XIChangeHierarchy.Peter Hutterer
Everything else uses underscore notation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Hierarchy changes should use "deviceid", not device.Peter Hutterer
Every other call/interface uses deviceid, so change for consistency. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Add support for Enter/FocusIn passive grabs.Peter Hutterer
2009-05-25Add XIGetSelectedEvents.Peter Hutterer
2009-05-18XIQueryPointer should return doubles for the FP1616 wire data.Peter Hutterer
2009-05-14Return failed modifiers for passive XI2 grabs.Peter Hutterer
2009-05-14Update XIQueryPointer to include full modifier state.Peter Hutterer
2009-05-14Label major/minor version in XIQueryVersion as _inout.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-14Xinput2.h: nmasks should be num_masks in XISelectEventsPeter Hutterer
2009-05-12Adust to new device names (less "Device" in function names)Peter Hutterer
2009-05-12XISelectEvents, not the singular versionPeter Hutterer
2009-05-12Support per-device flags for XIDeviceHierarchyEventsPeter Hutterer
2009-05-07Add XI2 property requests.Peter Hutterer
Without Xlib's 64-bit hilarity. A property claiming to be 32 bit is treated as 32 bit value.
2009-05-07Add property event conversion.Peter Hutterer
2009-05-07Add XIPassiveGrabDevice.Peter Hutterer
2009-04-19Add missing eventtype to XIRawDeviceEvent.Peter Hutterer
Reported-by: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
2009-04-16Add XIAllowEventsPeter Hutterer
2009-04-16Add XIGrabDevicePeter Hutterer
2009-03-20Add XISetDeviceFocus and XIGetDeviceFocusPeter Hutterer
2009-03-11Add support for XI2 Enter/Leave eventsPeter Hutterer
2009-03-11Add support for Raw events.Peter Hutterer
2009-03-11Add support for XIHierarchyEvent.Peter Hutterer
2009-03-11Add support for XIDeviceChangedEventPeter Hutterer
2009-03-11Add XIFreeEventDataPeter Hutterer