Comment 53 for bug 267611

Revision history for this message
William Grant (wgrant) wrote :

It seems that libxi or similar is playing up on amd64. GetWindowProperty works fine, but GetDeviceProperty sends something like this to the X server:

  92 27 06 00 04 00 00 00 6d 00 00 00 00 00 00 00 13 00 00 00 00 00 00 00

That and its response decode (with my modified xtrace) to:

  000:<:000b: 24: XInputExtension-Request(146,39): XIGetDeviceProperty property=0x4("ATOM") type=0x6d("Device Enabled") longOffset=0 longLength=19 deviceid=0 delete=false(0x00)
  000:>:0x000b:32: Reply to XIGetDeviceProperty: propertyType=0x0(unrecognized atom) bytesAfter=0 nItems=0 format=0 deviceid=0

The X server's response seems correct, given the bogus data the client gave it.

On i386, it sends:

  92 27 06 00 81 00 00 00 13 00 00 00 00 00 00 00 01 00 00 00 04 00 f5 05

Decoding to:

  000:<:000b: 24: XInputExtension-Request(146,39): XIGetDeviceProperty property=0x81("Device Enabled") type=0x13("INTEGER") longOffset=0 longLength=1 deviceid=4 delete=false(0x00)
  000:>:0x000b:36: Reply to XIGetDeviceProperty: propertyType=0x13("INTEGER") bytesAfter=0 nItems=1 format=8 deviceid=4