summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-02libXi 1.3libXi-1.3Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02Require macros 1.3 for XORG_DEFAULT_OPTIONSPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-29Don't export sizeDeviceClassType, size_classes and copy_classesJulien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-09-24XQueryDeviceState: correct length of XValuatorStatePeter Hutterer
The length is suppposed to be the complete class size, not just the struct size. Since XValuatorState is followed by multiple valuator values the size of the class is variable and dependent on the number of valuators. The server assembles the valuator state last. This bug is unlikely to affect clients as they should never go past the last class anyway. Tested-by: Thomas Jaeger Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-24man: correct XQueryDeviceState return value.Peter Hutterer
And one indentation fix in the same man page. 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-09-07mask_len in XIGrabDevice is in 4-byte units (#23708)Peter Hutterer
X.Org Bug 23708 <http://bugs.freedesktop.org/show_bug.cgi?id=23708> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-07libXi: Man page files end with LIB_MAN_SUFFIX not LIB_MAN_DIR_SUFFIX.Arkadiusz Miƛkiewicz
Using LIB_MAN_DIR_SUFFIX as man page files suffix is invalid since there can be files ending with eg. 5x while being in man5 dir (share/man/man5/man.5x) as required by FHS 2.3. Man page files and with LI Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-01Initialize send_event for cookie events. (#23609)Peter Hutterer
X.Org Bug 23609 <http://bugs.freedesktop.org/show_bug.cgi?id=23609>
2009-08-25Bump to 1.2.99.4libXi-1.2.99.4Peter Hutterer
2009-08-25Remove the asciidoc warning from configure.Peter Hutterer
This warning was put in when the released version of asciidoc required an additional patch to build libXi. The release of asciidoc 8.4.5 included this patch thus we don't need this explicit warning anymore. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-24man: fix XIQueryPointer parameter ordering.Peter Hutterer
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-18man: XIDefineCursor can generate BadDevice errors.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-18man: typo fixes in XIUndefineCursor, add BadCursor note.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05man: point out temporary detachment of slave devices.Peter Hutterer
Affects XIGrabDevice, XIGrabButton/Key and XIGrabEnter/GrabFocusIN Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05man: fix XIGrabEnter man page - text with needed to be reduced.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05Update library version for new symbols.Peter Hutterer
XI2 adds a whole lot of new symbols but leaves the existing ones. Minor bump only. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05man: correct XListInputDevices description of the name field.Peter Hutterer
A device's name is the identifier set either by the server the xorg.conf/HAL. The preconfigured device types (XI_MOUSE, XI_KEYBOARD, etc.) are atoms listed in the type field only. 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-08-04Allow foreign automake, remove empty AUTHORS and NEWS.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-04man: add XIQueryDevice and XIFreeDeviceInfo man page.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-04Remove leftover RCS tags.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-03man: missing .man suffixes in prereq rules breaks parallel makeDan Nicholson
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-07-22Bump to 1.2.99.3libXi-1.2.99.3Peter Hutterer
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-15Fix wrong raw_valuator wire copy, add fractional parts.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14man: fix wrong parameter in XIGrabKeysym man pages.Peter Hutterer
XIGrabKeysym doesn't provide a cursor argument. 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-13Fix broken formatting, remove empty comment.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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>