summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-08Include stdint.hHEADxi2.1Chase Douglas1-0/+1
I'm now getting build failures due to missing stdint.h. It seems we should include it explicitly in XI2proto.h anyways. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2010-10-08Add TouchStateNotify/TouchMotion/TouchClass, bump to 2.1Daniel Stone4-17/+419
Introduce multitouch support through a new TouchClass, as well as new TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2010-08-06Typo fix: GrabTypeFocusIn -> GrabtypeFocusInPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06Spell out event types for XIDeviceEvent.Peter Hutterer1-1/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06Define the error cases for XSetDeviceMode better.Peter Hutterer1-1/+3
Take the error codes as described in the man page for XSetDeviceMode. This is more likely to be what clients expect, especially since the protocol spec doesn't actually define when BadMode is to be reported. This behaviour is the same as specified in the XSetDeviceMode man page. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
2010-08-06XI2proto.txt: fix up some request names.Peter Hutterer1-7/+6
Leftovers from previous versions of the spec before the requests were renamed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-28config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28config: remove the pkgconfig pc.in file from EXTRA_DISTGaetan Nadon1-1/+0
Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28config: install and distribute XI2proto.txt XIproto.txtGaetan Nadon1-1/+2
It will now be installed in $docdir in addition to being distributed in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-22Add Red Had Copyright in the COPYING file.Gaetan Nadon1-0/+22
Refer to XI2.h and XI2proto.h Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-22Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-1/+2
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-16README: file created or updated #24206Gaetan Nadon1-0/+30
Contains a set of URLs to freedesktop.org.
2009-11-15Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+1
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-11-15Makefile.am: INSTALL file is missing or incorrect #24206Gaetan Nadon1-2/+5
The standard GNU file on building/installing tarball is copied using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS Add INSTALL target
2009-11-15configure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-2/+2
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-11-15configure.ac: AM_MAINTAINER_MODE missing #24238Gaetan Nadon1-0/+1
This turns off maintainer mode build rules in tarballs. Works in conjunction with autogen.sh --enable-maintainer-mode
2009-11-15.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-7/+71
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-10-02inputproto 2.0Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02Add XIproto.txtPeter Hutterer2-1/+2543
This is the XI protocol specification document that used to be in xorg-docs. It's now moved here, and if it ever sees updates, the updates will only apply to here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02Require macros 1.3 for XORG_DEFAULT_OPTIONSPeter Hutterer1-5/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-25inputproto 1.9.99.902 (RC 2)Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-25Device cursors are deleted once the window or the device disappear.Peter Hutterer1-0/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-21XIWarpPointer needs to take FP1616 for positions.Peter Hutterer1-5/+5
This was already in the spec but the protocol itself hadn't cought up with it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-21Replace four leftover INT16 with int16_t.Peter Hutterer1-4/+4
2009-08-21XIQueryPointer only works on master pointers and floating slaves.Peter Hutterer1-0/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-18XI2proto: XIChangeCursor request requires a master pointer.Peter Hutterer1-0/+3
State that the server will return BadDevice in this case. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-18XI2proto.txt: typo fixPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-07Remove eventtype field from xXIRawEvent.Peter Hutterer1-3/+1
With c455db2, raw events were split up into using multiple evtypes instead of a sub event type. The eventtype field itself however has not been removed and was unused by both the server and the library. Field converted into a padding field, wire layout stays the same. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05inputproto 1.9.99.901 (RC 1)Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-05Revert "XI2proto.txt: grabbing a slave does not detach it anymore."Peter Hutterer1-1/+5
Detaching a slave device during an explicit grab makes sense from a UI perspective. It allows a client to get exclusive access to a device without that device's events also feeding into the respective master device. Thanks to Thomas Jaeger for his contribution. This reverts commit d0b1e55b876a29a7c820ec12d7b9cb5e081e1944. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-31XI2proto.txt: document ClientPointer in more detail.Peter Hutterer1-1/+22
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: don't put field names in quotes.Peter Hutterer1-76/+76
This was done inconsistently anyway so get rid of it alltogether. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: typo fixes and minor clarifications.Peter Hutterer1-32/+32
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: sourceid on DeviceChanged is the device.Peter Hutterer1-3/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: passive grabs can take XIAll{Master}Devices.Peter Hutterer1-2/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: grabbing a slave does not detach it anymore.Peter Hutterer1-5/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XIproto.txt: clarify that the ClientPointer is set, even if implicitly.Peter Hutterer1-1/+5
It is indistinguishable for the client whether the the server chooses a ClientPointer or whether the CP was set through an XISetClientPointer request. The only thing that matters is that a device was actually assigned and will be used in the future. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-28XI2proto.txt: padding bytes must be zero.Peter Hutterer1-1/+2
Padding bytes zeroed out ensures that future versions of the XI2 protcol may use these padding bytes with a defined state. The server should ignore padding bytes depending on the client's version anyway but better safe than sorry. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-27XI2proto.h: Remove special doxygen tags.Peter Hutterer1-63/+4
The protocol header does not include enough documentation to make the use of doxygen really worthwile. Special doxygen tags beyond the very simple use of /** and /**< contribute too much to the noise and make it hard to actually read the code itself. While no extra tags are added now, a run of doxygen over XI2proto and XI.h still produces an acceptable output. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-27XI2proto.txt: Add some XI1 vs. XI2 interoperability descriptions.Peter Hutterer1-1/+31
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-27XI2proto.txt: update list of XI2 event types.Peter Hutterer1-1/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-22inputproto 1.9.99.15Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-20XI2: remove Keysym grabs, use Keycode grabs instead.Peter Hutterer2-11/+11
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. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14inputproto 1.9.99.14Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14Add the enter/leave detail defines, same as the core protocol ones.Peter Hutterer1-0/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14Formatting fix, s/tabs/spaces/Peter Hutterer1-2/+2
2009-07-14Device{,Raw}Event: Add flags field.Daniel Stone3-1/+22
Add a flags member to DeviceEvent and DeviceKeyEvent; the only currently defined flag is KeyRepeat, indicating a repeat event (a la XKB detectable autorepeat), which is only valid for key events. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13XI2: Split up raw events into multiple event types.Peter Hutterer2-11/+15
Instead of a single XI_RawEvent type with subtypes to represent the actual event, split up the event into XI_RawButtonPress, XI_RawButtonRelease, etc. This way clients can select for specific raw events only instead of all of them at once. Note that raw events may be selected on master devices too, the server will route them through master devices. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Fix XIMaskLen macro.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12inputproto 1.9.99.13Peter Hutterer1-1/+1