summaryrefslogtreecommitdiff
path: root/XIproto.h
Commit message (Collapse)AuthorAgeFilesLines
* Define the Cursor datasize correctlyBenjamin Close2009-04-221-0/+2
| | | | | | | | | | | | 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>
* Add GrabDevice and UngrabDevice XI2 requests.Peter Hutterer2009-04-191-1/+1
|
* Revert "Add major/minor version as supported by client to ↵Peter Hutterer2009-04-101-6/+1
| | | | | | | | | | GetExtensionVersionReq." This reverts commit f6e41306f76de966884d4b72c5fb5e5d6d534ce4. 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>
* Remove XI2 requests from XIproto.hPeter Hutterer2009-03-201-336/+2
| | | | | All requests been moved to XI2proto.h. Only ExtendedGrabDevice is gone for good.
* Whitespace cleanups.Peter Hutterer2009-02-261-533/+533
| | | | Yep. Slow day today.
* PropertyNotify, move deviceid back to last byte.Peter Hutterer2008-10-311-6/+6
| | | | | | 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.
* Remove window access protocol requests.Peter Hutterer2008-10-311-56/+4
| | | | | This is a bad idea. It didn't provide security and you can get the same functionality as you did with normal event registration.
* Undef Atom after we're done so we don't pollute users of XIproto.hJulien Cristau2008-10-151-0/+1
|
* Make sure Atoms are defined as CARD32.Peter Hutterer2008-10-151-0/+1
|
* Remove Configure/QueryDeviceProperty.Peter Hutterer2008-09-191-67/+15
|
* Protect against C++ includes.Peter Hutterer2008-08-151-0/+4
|
* Remove RCS tags, typo fix.Peter Hutterer2008-08-151-4/+1
|
* Back out Device Properties from XI 2, push into XI 1.5.Peter Hutterer2008-08-151-157/+200
|
* Add DeviceControlChanged define.Peter Hutterer2008-07-291-1/+1
| | | | | This value is used for the devchange field in the DevicePresenceNotify event when a device's control has been modified.
* Set IEVENTS back to 18, got set to 8 inadvertantly.Peter Hutterer2008-07-091-1/+1
|
* Add XI device property requests and replies.Peter Hutterer2008-07-091-4/+147
| | | | | | | | | | | | New requests: ListDeviceProperties ... list all props of a device QueryDeviceProperty ... query meta-information about a property ChangeDeviceProperty ... change the content of a property DeleteDeviceProperty ... delete a property GetDeviceProperty ... retrieve a property New event: DevicePropertyChangedNotify ... the given property on the device has changed
* Add major/minor version as supported by client to GetExtensionVersionReq.Peter Hutterer2008-04-261-1/+6
| | | | | | | | | | | | This sort-of breaks old clients. Behaviour to be assumed is that if nbytes is 0, major/minorVersion is set and specifies the version as supported by the client. If nbytes is non-zero, the request is trailed by the extension name (INAME) and major/minorVersion is undefined. This is the behaviour of pre-MPX clients. And then there may be clients who found that no other extension uses this request and supplying a name wasn't actually necessary since it was XI anyway. These clients will break. Tough luck. Read the man pages next time.
* Add #define IREQUESTS 45. Specifies the number of requests in XI.Peter Hutterer2008-04-251-0/+1
|
* Add deviceid to QueryDevicePointer reply.Peter Hutterer2008-03-041-1/+1
| | | | Doesn't hurt, we have padding left over anyway.
* Squash opcode range for MPX XI requests.Peter Hutterer2008-02-251-6/+6
| | | | | This removes the opcode holes that were left by the excessive request removal of the last weeks.
* Remove GetPairedPointer, paired device can be found through ListInputDevices.Peter Hutterer2008-02-251-31/+0
|
* Remove "ungrab" from ExtendedGrabDevice request, remove XUngrabExtDevice().Peter Hutterer2008-02-251-2/+2
| | | | That's what UngrabDevice is for, it does the same anyway.
* Remove GrabAccessControl and FakeDeviceData.Peter Hutterer2008-02-141-54/+0
| | | | | Both aren't thought out enough to justify their inclusion in the first version of MPX.
* Remove RawDeviceEvent - for now anyway.Peter Hutterer2008-02-121-30/+0
| | | | | Wasn't quite as thought-out as it should be. Throwing it out for now, to get the rest of MPX more stable.
* Remove pairingChangedNotify event.Peter Hutterer2008-02-121-23/+0
| | | | | I swear I already removed that before... Anyway, we don't need it anymore, since pairings can't be changed anyway. Hooray for the device hierarchy.
* Remove "shared" field from QueryDevicePointer.Peter Hutterer2008-02-121-1/+1
| | | | | If it's a slave device, it's shared, if it's a master device it has its own cursor. No need for this field.
* Add a device id to XiSelectEvent.Peter Hutterer2008-01-251-0/+3
|
* Remove RegisterPairingClient, deprecated with the device hierarchy now.Peter Hutterer2007-11-131-30/+0
|
* Add DeviceClassesChangedEvent.Peter Hutterer2007-11-131-0/+29
|
* Add DeviceHierarchyChangedEvent.Peter Hutterer2007-11-081-25/+24
| | | | | | Uses same event type as the now removed PointerKeyboardPairingChangedNotify. (removing the RandomStringEvent too, should have been gone a while ago)
* Add XChangeDeviceHierarchy and its components.Peter Hutterer2007-10-191-7/+47
|
* xDeviceInfo: add "attached" field (replace previous padding).Peter Hutterer2007-10-171-2/+2
| | | | | | If use is set to IsXExtensionPointer/Keyboard/Devices, attached indicates the device ID of the master device it is attached to. If the device is floating, attached is set to IsFloating.
* Move deviceid around in deviceEnterNotify, make room for detail field.Peter Hutterer2007-05-171-3/+4
|
* Add event_type to RawDeviceEvent to store matching core event type.Peter Hutterer2007-05-171-1/+3
|
* Add ExtendedGrabRequest and the matching reply.Peter Hutterer2007-05-141-0/+41
|
* Add xFakeDeviceDataReqPeter Hutterer2007-05-021-0/+24
|
* Providing a device id for a RawDeviceEvent may not be a bad idea.Peter Hutterer2007-05-021-1/+1
|
* Add XGE support and event types for RawDeviceEvent and PairingChanged event.Peter Hutterer2007-05-011-7/+81
|
* Merge branch 'master' into mpxPeter Hutterer2007-04-271-1/+1
|\
| * Add flags to be used for DevicePrensence's devchange field.Peter Hutterer2007-04-241-1/+1
| |
* | add GetClientPointer request and reply.Peter Hutterer2007-03-221-0/+59
| | | | | | | | | | | | add GetPairedPointer request and reply. move declaration of _XiGetDevicePresenceNotifyEvent out of the macro and wrap it between extern "C". Otherwise C++ code won't be able to find it.
* | add SetClientPointer request.Peter Hutterer2007-03-091-3/+23
| | | | | | | | fix typos and wrong names for access function declarations.
* | add access control requests.Peter Hutterer2007-02-221-3/+85
| | | | | | | | fix wrong field lengths for RegisterPairing request and reply.
* | add xRegisterPairingClient request and replyPeter Hutterer2007-02-211-0/+31
| |
* | add flags field to deviceEnterNotify structPeter Hutterer2007-02-081-3/+2
| | | | | | | | add same_screen, focus to XDeviceCrossingEvent struct
* | add ChangePointerKeyboardPairing requestPeter Hutterer2007-01-291-1/+40
| | | | | | | | add pairingChangedNotify event
* | add deviceEnterNotify event, DeviceEnterNotify, DeviceLeaveNotify supportPeter Hutterer2007-01-101-1/+31
| | | | | | | | add MPX Major/Minor version numbers
* | add ChangeDeviceCursor requestPeter Hutterer2007-01-081-0/+18
| |
* | add QueryDevicePointer request + replyPeter Hutterer2006-12-201-0/+62
|/ | | | add WarpDevicePointer request
* DeviceAbs{Area,Calib}: properly align 32-bit typesinputproto-1.4Daniel Stone2006-10-221-14/+14
| | | | Decorate CARD32s and INT32s with B32.