summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-05-19XIPassiveGrab: take the address of modifiers for memcpy, not the value.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-18XIQueryPointer: fix wrong reply extra data reading.Peter Hutterer
libXi does it differently than the server, so don't try to access &reply[1], instead use _XRead as it should be. Reported-by: Mark Dokter Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-18XIQueryPointer should return doubles for the FP1616 wire data.Peter Hutterer
2009-05-15Remove duplicated code paths in XIGetProperty.Peter Hutterer
XIGetProperty always returns in the specified format (8, 16, 32) and never in the Xlib's 64-bit long hackery. So we can clean this code up a bit. This doesn't affect XListProperties, it still returns an Atom list. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
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-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-07Use the new prefixed constants for XI2 and require inputproto 1.99.9.8Peter 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-19Silence a compiler warning by using a uchar instead of a char.Peter Hutterer
2009-04-19Type-cast before passing into wireToFooBarEvent.Peter Hutterer
2009-04-19Convert FP1616 from int32_t to double.Peter Hutterer
2009-04-19XIQueryVersion: ensure we unlock in all cases and return the status.Peter Hutterer
2009-04-19Add missing eventtype to XIRawDeviceEvent.Peter Hutterer
Reported-by: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
2009-04-19Add a bunch of missing LockDisplay() calls.Peter Hutterer
Reported-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2009-04-19libxi: Unlock display after XIQueryVersionPaul "TBBle" Hampson
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-16Add XIAllowEventsPeter Hutterer
2009-04-16Add XIGrabDevicePeter Hutterer
2009-04-12parse subpixelsPeter Hutterer
2009-03-26XIint.h only needs XI.h as include, not the rest.Peter Hutterer
This fixes 64bit compilation issues. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-26Remove public declarations for SizeClassInfo and ParseClassInfo.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20Add XISetDeviceFocus and XIGetDeviceFocusPeter Hutterer
2009-03-20Handle XI2 focus events.Peter Hutterer
These events are identical to enter/leave events.
2009-03-11Add support for XI2 Enter/Leave eventsPeter Hutterer
2009-03-11Remove if 0 code blockPeter 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
2009-03-11Add support for XIDeviceEvents.Peter Hutterer
2009-03-11XIint.h fix compile error, include XInput.hPeter Hutterer
2009-03-11XExtInt compile fix - include XI2.hPeter Hutterer
2009-03-11Add XIQueryDevice implementation.Peter Hutterer
2009-03-11Add XIQueryVersion() - query and announce the supported XI version.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-11XISelectEvent: make sure padding is zeroed out.Peter Hutterer
2009-03-11Replace XiSelectEvent() with XISelectEvent().Peter Hutterer
2009-03-11Replace all XDevice* with ints.Peter Hutterer
There's no reason to have XDevice structs. It's not as if they carry useful information.
2009-03-11Change XIGetClientPtr to take an int, not an XIDPeter Hutterer
2009-03-11Fix the already existing XI2 calls to the new XI2 protocol. FIXMEPeter Hutterer
FIXME: not bisectable due to XiSelectInput. This includes namespacing them with an XI2 prefix. Affected calls: XIGetClientPointer XISetClientPointer XIDefineDeviceCursor XIUndefineDeviceCursor XIWarpDevicePointer XIQueryDevicePointer XIChangeDeviceHierarchy (+ event)
2009-03-03Move current XI2 stuff out of XInput.h, into XInput2.hPeter Hutterer
This means XInput2.h is rather messy, but it also means we can leave XInput.h untouched for the XI2 rework.
2009-03-03XIint.h: include XIproto.h for xAnyClassPtr.Peter Hutterer
2009-03-03Disable generic event handling for now to allow bisecting.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-03Back out the XQueryInputVersion hack, restore previous state.Peter Hutterer
XI2 should use a separate request to query the version rather than piggy-back on an existing badly defined request. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-25Remove XExtendedGrabDevice.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-25Remove DeviceEnter/LeaveNotify handling.Peter Hutterer
This will be replaced by XI2 GenericEvents. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>