Files
xserver/Xi
Peter Hutterer e6a18762ef Xi: fix XISetClientPointer return values.
If SetClientPointer fails, the only reason may be that the device is not a
pointer or that the device is an SD. Return BadDevice instead of BadAccess.
(BadAccess is a leftover from the early times of the ClientPointer
implementation when only one client was allowed to set it).

If the window parameter doesn't name a valid window or client, return
BadWindow.

Finally, allow both master keyboards and master pointers as deviceid.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-12 12:37:16 +10:00
..
2009-05-16 12:20:58 +10:00
2009-05-16 12:20:58 +10:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2009-06-12 12:37:16 +10:00
2009-03-20 15:17:55 +10:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2009-01-22 15:08:55 +11:00
2009-05-16 12:20:58 +10:00
2009-03-20 15:17:55 +10:00
2009-05-16 12:20:58 +10:00
2009-04-19 22:28:11 +10:00
2009-05-08 14:33:23 +10:00
2009-05-16 12:20:58 +10:00