Commit graph

144 commits

Author SHA1 Message Date
Peter Hutterer
d041f30777 Add an introduction to XI2proto.txt 2009-05-14 10:29:49 +10:00
Peter Hutterer
e1138da902 XI2proto.txt: remove more mentioning of keycode grabs 2009-05-12 19:24:31 +10:00
Peter Hutterer
7aba20ed4c Remove superfluous "Device" from protocol requests and events.
Anything with prefix XI is per-device anyway.
2009-05-12 19:21:12 +10:00
Peter Hutterer
12635cbd4a Add per-device flags to XIDeviceHierarchyEvents 2009-05-12 16:14:01 +10:00
Peter Hutterer
886d2aceb7 Define Cursor as CARD32.
Reported-by: Benjamin Close <benjamin.close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-12 13:46:20 +10:00
Peter Hutterer
32277164bc XI2proto.h: doxygen-ify 2009-05-11 14:51:12 +10:00
Peter Hutterer
e9dfa40155 XI2proto.h: s/uint32_t/Time/ where appropriate 2009-05-11 13:46:53 +10:00
Peter Hutterer
a47a2b5084 Prefix all XI2 constants with "XI" -> inputproto 1.99.9.8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-07 16:50:50 +10:00
Peter Hutterer
2edc35c032 Add XI2 property requests.
Basically the same as XI 1.5, save the 16 bit deviceids.
2009-05-07 16:50:50 +10:00
Peter Hutterer
504b480c94 XI2: add passive grabs.
Most notably XI2 provides keysym grabs instead of keycode grabs.
2009-05-07 16:50:47 +10:00
Peter Hutterer
5d60550fde XI2 spec: Add some more Grab/Ungrab/AllowEvents documentation. 2009-04-25 10:44:05 +10:00
Benjamin Close
6d28cb22ad Define the Cursor datasize correctly
On 64 bit machines, without Cursor defined Xlib would allocate 64 bits
rather than 32 to any structs using Cursor. This led to data not
correctly being available on the wire hence the Xserver would do strange
things. We hence define Cursor to what it should be and make sure
we undefine it after we've finished to users of XIproto.h aren't affected

Fix-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-22 12:45:13 +10:00
Paul "TBBle" Hampson
589dc6ffa5 Fix typo in XI2proto.txt
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-22 12:45:03 +10:00
Peter Hutterer
3380ae0ac0 Add XIAllowEvents.
Basically the same as the core protocol AllowEvents.
2009-04-20 13:37:21 +10:00
Peter Hutterer
3c273d7145 Change FP1616 into a single int32_t. 2009-04-19 22:29:00 +10:00
Peter Hutterer
8914a9a2a9 Add GrabDevice and UngrabDevice XI2 requests. 2009-04-19 22:28:57 +10:00
Peter Hutterer
1956df7e45 Revert "Add major/minor version as supported by client to GetExtensionVersionReq."
This reverts commit f6e41306f7.
Sending the supported version hidden in another request is potentially
dangerous, so let's not do it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-10 14:56:50 +10:00
Peter Hutterer
55ee1f97d4 XI2proto.txt: fix typo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-10 14:35:09 +10:00
Peter Hutterer
d5105dc851 We don't need to define KeyCode and Mask.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-10 14:18:01 +10:00
Peter Hutterer
75daa0db2c Undef Window, Time, etc. after usage again to avoid pollution.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-10 14:17:19 +10:00
Peter Hutterer
6c9785ea25 Remove IsFloating - we don't need this in XI 1.x anymore. 2009-03-20 15:32:07 +10:00
Peter Hutterer
069880638b Move XI_2_Major/Minor to XI2.h 2009-03-20 15:32:07 +10:00
Peter Hutterer
2570457174 Move AttachToMaster, Floating to XI2.h 2009-03-20 15:32:07 +10:00
Peter Hutterer
1d933800ac Move CH_* constants to xi2 2009-03-20 15:32:07 +10:00
Peter Hutterer
5aa07308a1 Remove XI2 requests from XIproto.h
All requests been moved to XI2proto.h. Only ExtendedGrabDevice is gone for
good.
2009-03-20 15:32:07 +10:00
Peter Hutterer
05f997e689 Bump to 1.9.99.7 2009-03-20 15:32:07 +10:00
Peter Hutterer
7a73c3c64b Add XISetDeviceFocus and XIGetDeviceFocus requests 2009-03-20 15:32:07 +10:00
Peter Hutterer
0ca1de737a Add focus events 2009-03-12 11:44:20 +10:00
Peter Hutterer
da74983b7d Add buttons + modifier/group information to enter/leave events. 2009-03-12 11:44:20 +10:00
Peter Hutterer
c9ebfba4a1 Define FP1616 as one int16_t, one uint16_t. 2009-03-12 11:44:20 +10:00
Peter Hutterer
2339bc5b0e ValuatorInfo moved to FP3232 2009-03-12 11:44:20 +10:00
Peter Hutterer
cac1bcbf6d Add FP3232 typedef. 2009-03-12 11:44:20 +10:00
Peter Hutterer
fc7f67959a XI2: remove button state from the RawEvent.
A RawEvent is supposed to represent the state posted by the device. If a
client needs button state, then the client must keep track of it.
2009-03-12 11:44:20 +10:00
Peter Hutterer
d2ba9af051 Split CH_ChangeAttachment into CH_AttachSlave and CH_DetachSlave
CH_ChangeAttachment is still there, but won't be for long.
2009-03-11 16:37:16 +10:00
Peter Hutterer
69f5b8a3ff Add XI2.h and XI2proto.h, and a few required defines to XI.h 2009-03-11 16:37:13 +10:00
Peter Hutterer
27dc5a8313 Add XI2 protocol specification document. 2009-02-26 15:18:30 +10:00
Peter Hutterer
f39d3c8d60 Whitespace cleanups.
Yep. Slow day today.
2009-02-26 15:16:58 +10:00
Paulo Cesar Pereira de Andrade
c2d426f232 Janitor: Correct make distcheck and dont distribute autogen.sh 2009-01-27 20:06:28 -02:00
Peter Hutterer
7203036522 Bump to 1.9.99.6. 2008-10-31 19:05:09 +10:30
Peter Hutterer
f806462949 PropertyNotify, move deviceid back to last byte.
This way, it can be type-cast to deviceKeyButtonPointer to extract the
deviceid, which is (aside from time) the only thing it has in common with
those anyway.
2008-10-31 19:05:00 +10:30
Peter Hutterer
90a86701e3 Remove window access protocol requests.
This is a bad idea. It didn't provide security and you can get the same
functionality as you did with normal event registration.
2008-10-31 16:32:18 +10:30
Julien Cristau
36c8a6f3fa Undef Atom after we're done so we don't pollute users of XIproto.h 2008-10-15 10:33:51 +02:00
Peter Hutterer
c919917e37 Make sure Atoms are defined as CARD32. 2008-10-15 10:35:58 +10:30
Peter Hutterer
2166b77ea6 Bump to 1.9.99.5. 2008-09-26 10:11:04 +09:30
Peter Hutterer
93c1ea035b Remove default properties (XI_PROP_MODE, XI_PROP_ENABLED)
These should be defined by the server, not the protocol.
2008-09-26 09:37:48 +09:30
Peter Hutterer
18ef04f8a2 Remove Configure/QueryDeviceProperty. 2008-09-19 09:06:48 +09:30
Peter Hutterer
c9454a8e84 Add XI_JOYSTICK type. 2008-09-19 09:06:48 +09:30
Peter Hutterer
20a0c8433e Don't include Xmd.h. 2008-09-18 15:00:01 +09:30
Peter Hutterer
3e7b663e7d inputproto 1.9.99.4
Backported device properties.
2008-08-15 15:01:16 +09:30
Peter Hutterer
fabe087ceb Protect against C++ includes. 2008-08-15 14:50:46 +09:30