xserver-multidpi/dix
Peter Hutterer a7e23a79c1 Xi: Add support for Enter and FocusIn grabs.
Enter grabs are checked for in CheckMotion(), each time the sprite window
changes the current grab is deactivated (if applicable) and the new grab is
activated (if applicable). Exception - if the grab is on a parent window of
the current window since we keep the grab across descendants.

Since CheckMotion() may change the grab status of a device, we mustn't get
"dev->deviceGrab.grab" in ProcessOtherEvents until after CheckMotion().
FocusIn grabs are checked in much the same manner.

The event delivery for grabs replaces the NotifyNormal on window change with
a NotifyGrab on window change. Note that this happens before the grab
activates, so the EnterNotify(NotifyGrab) is still delivered to the window,
not to the grabbing client. This is in line with the core protocol semantics
for NotifyGrab events.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-27 14:40:58 +10:00
..
atom.c Constify atom name strings 2009-02-03 10:06:00 -08:00
buildatoms XFree86 4.3.0.1 2003-11-14 16:49:22 +00:00
BuiltInAtoms R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
colormap.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
cursor.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
deprecated.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
devices.c input: introduce partial class copying depending on the event. 2009-05-22 15:44:57 +10:00
dispatch.c dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
dispatch.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixfonts.c dix: fix two compiler warnings (old-style function definition). 2009-03-03 07:07:30 +10:00
dixutils.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
enterleave.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
enterleave.h dix: move focus handling into enterleave.c. 2009-01-08 11:45:22 +10:00
eventconvert.c Xi: Add support for Enter and FocusIn grabs. 2009-05-27 14:40:58 +10:00
events.c Xi: Add support for Enter and FocusIn grabs. 2009-05-27 14:40:58 +10:00
extension.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10:00
ffs.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
gc.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
getevents.c dix: protect event generation against single-valuator devices. 2009-05-22 15:44:57 +10:00
globals.c DPMS: Remove the defaultDPMS* variables 2009-04-03 18:22:20 -04:00
glyphcurs.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
grabs.c dix: fix wrong cast of eventMask into CreateGrab. 2009-05-27 13:54:19 +10:00
initatoms.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
inpututils.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
main.c dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
Makefile.am dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
pixmap.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
privates.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
property.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10:00
protocol.txt Add XI 1.5 event and requests to protocol.txt 2009-04-20 12:50:34 +02:00
ptrveloc.c dix: remove superfluous includes from ptrveloc.c 2009-05-08 14:33:22 +10:00
registry.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
resource.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
selection.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10:00
swaprep.c dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
swapreq.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
tables.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
window.c Merge branch 'master' into xi2 2009-04-07 19:36:27 +10:00
Xserver-dtrace.h.in Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00
Xserver.d Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00