xserver-multidpi/Xi
Peter Hutterer 2bb282cd45 Xi: only activate the device grab if we don't already have one
If the device is already grabbed, don't activate the passive grab, it screws
with our event masks. Just deliver to the grabbing client instead.

Reported-by: Carlos Garnacho <carlosg@gnome.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2011-12-21 15:20:38 +10:00
..
allowev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
allowev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgdctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgdctl.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgfctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
chgkbd.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgkbd.h Xi: disallow changing core keyboard and pointer 2006-10-29 03:43:34 +03:00
chgkmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgprop.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgptr.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgptr.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
closedev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
closedev.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
devbell.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
devbell.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
exevents.c Xi: only activate the device grab if we don't already have one 2011-12-21 15:20:38 +10:00
exglobals.h xi: Use RESTYPE consistently 2011-03-08 13:20:33 -05:00
extinit.c Hook up the ownership events 2011-12-19 09:08:32 +10:00
getbmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getdctl.c Use correct swap{l,s} (or none at all for CARD8) 2011-09-21 17:14:16 -04:00
getdctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getkmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getmmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getprop.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getselev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getselev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getvers.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getvers.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevb.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevk.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
gtmotion.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
gtmotion.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
listdev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
listdev.h Xi: Change ChangeMasterDeviceClasses to new XI2 events. 2009-03-20 15:17:55 +10:00
Makefile.am Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
opendev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
opendev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
queryst.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
queryst.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
selectev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
selectev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
sendexev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
sendexev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setbmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setdval.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setdval.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmode.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setmode.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
stubs.c simplify ChangeDeviceControl in stubs 2011-03-24 09:52:48 +10:00
ungrdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevb.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevk.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
xiallowev.c Xi: handle grab accept/reject requests 2011-12-21 12:38:36 +10:00
xiallowev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xichangecursor.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xichangecursor.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xichangehierarchy.c Change disable_clientpointer return type to void 2011-12-09 14:55:37 -08:00
xichangehierarchy.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xigetclientpointer.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xigetclientpointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xigrabdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
xigrabdev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xipassivegrab.c Xi: assign correct grab_mode/other_device_mode in XI2 passive grabs 2011-12-21 14:16:36 +10:00
xipassivegrab.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xiproperty.c Fix gcc -Wwrite-strings warnings in various extensions 2011-11-23 12:15:07 -08:00
xiproperty.h Xi: reset the known properties at the end of the server generation. 2010-05-07 12:16:43 -07:00
xiquerydevice.c input: add a TouchClassRec to the devices 2011-12-19 09:08:36 +10:00
xiquerydevice.h input: add a TouchClassRec to the devices 2011-12-19 09:08:36 +10:00
xiquerypointer.c input: replace remaining GetPairedDevice() with GetMaster() 2011-11-09 13:26:47 +10:00
xiquerypointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xiqueryversion.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xiqueryversion.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xiselectev.c Xi: allow selecting for touch events 2011-12-21 12:38:35 +10:00
xiselectev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xisetclientpointer.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xisetclientpointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xisetdevfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xisetdevfocus.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xiwarppointer.c Input: Convert DeviceIntRec::last to use doubles 2011-09-29 12:26:34 +10:00
xiwarppointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00