summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-13Bump to 1.2.99.2libXi-1.2.99.2Peter 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-13Plug memory leak in XIHierarchyEvent copy.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Fix segfault in XIDeviceChangedEvent wire parsing.Peter Hutterer
Introduced by 225071e2e67fb65a0258397212f9826c9b25e078. 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-12Add event copying for raw events.Peter Hutterer
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-07-08Split copy_classes and size_classes to avoid memory leakPeter Hutterer
The switch to cookie events introduced a memory leak in XIDeviceChangedEvents. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-08Use cookie events for XI2 events.Peter Hutterer
Instead of squashing the events directly into the XEvent use the new libX11 cookie events. This allows us to have larger events without the 96 byte restriction. Requires libX11 1.2.99.1 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-08Add next_block() call to advance pointers over memory.Peter Hutterer
Simple call to get the pointer to the next field when operating on a wire protocol struct or on a single-memory-block Xlib structure. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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-19man: add some missing XI2 refpagesPeter Hutterer
These missing pages may cause parallel builds to fail. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17Require inputproto 1.9.99.12Peter Hutterer
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-16Protect button label copying against 64-bit Atom madness.Peter Hutterer
Datatype Atom is 8 bytes on 64 bit architectures, but it's always 4 bytes on the wire. 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-12XISelectEvents and XIGetSelectedEvents use "win" now instead of "window"Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Require inputproto 1.9.99.11.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-09Silence warning: missing prototype for copy_classesPeter Hutterer
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-09man: XIChangeHierarchy uses device ids, not XDevice*Peter Hutterer
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-06-04Fix typo in man/XGetDeviceProperty.txt (wether->whether)Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-04Fix building if asciidoc or xmlto is not installed.Matthias Hopf
2009-06-04Merge branch 'master' into xi2Peter Hutterer
Conflicts: man/XI.xml
2009-06-03configure: Search for sed as required by the man pages.Benjamin Close
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02Fix typo in Makefile.am, leading to the XI2 source skipping compilation.Peter Hutterer
Introduced with 59dc570e6ad4adab8066c7b8d2bff77cbf70bed4. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02man: resurrect XGetDeviceProperty man pages (and associates)Peter Hutterer
These man pages got lost in the asciidoc conversion. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02Add XI2 property man pages.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02man: fix copy/paste errors in XListDeviceProperties.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02Rename remaining XI2 sources to XI<foobar>.cPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02Return BadRequest from XIQueryVersion if XI2 isn't supported.Peter Hutterer
XIQueryVersion (like all other calls) makes sure XGetExtensionVersion is called beforehand anyway. So if that doesn't match 2.0 or higher, return BadRquest before issuing the real request (which would trigger a BadRequest error). This way, clients can use XIQueryVersion without having to set up the error handler. XIQueryVersion is now guaranteed to return the server-supported version. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-02Use Dont_Check for most XI2 requests.Peter Hutterer
If a client issues an XI2 request against a non-XI2 server it should generate a BadRequest error from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Add support for Enter/FocusIn passive grabs.Peter Hutterer
2009-05-28Require inputproto 1.9.99.10Peter Hutterer
2009-05-27Fix wrong pointer argument in _XIPassiveUngrabDevice.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-25Add XIGetSelectedEvents.Peter Hutterer
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-18Switch man pages to asciidoc.Peter Hutterer
The docbook xml is unreadable and unwritable. Switch everything to asciidoc, at least thay we we can write man pages without losing sanity. asciidoc seems to have some issues with __libmansuffix__, so instead we just use libmansuffix (without underscores). The current asciidoc version is buggy for multiple man targets (more than one man page in a single file), so stick a big warning into configure that a patch is required to the the right asciidoc->docbook conversion. Many thanks to Dan Nicholson for the Makefile.am. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>