Go to file
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
composite composite: Fix resource lookups 2009-04-14 16:21:04 -04:00
config config: if we can't connect to HAL, listen for a startup notification. 2009-02-10 15:01:44 +10:00
damageext Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dbe Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dix Xi: Add support for Enter and FocusIn grabs. 2009-05-27 14:40:58 +10:00
doc Remove references to rgb.txt from files section of Xserver and Xorg man pages 2009-02-27 14:42:59 +00:00
exa exa: add missing exa.h header include 2009-04-23 12:13:35 +10:00
fb fb: add fbDoCopy and fbCopyRegion compatibility wrappers. 2009-02-11 14:35:17 +01:00
glx DRI2: Add missing front-buffer flush callback. 2009-04-20 20:58:56 -07:00
hw ABI_XINPUT_VERSION 6 2009-05-22 15:44:57 +10:00
include Xi: Add support for Enter and FocusIn grabs. 2009-05-27 14:40:58 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi mi: use GetMaster() from MIPOINTER and MISPRITE. 2009-05-22 15:44:57 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os os: fix compiler warning "too few arguments to format" 2009-05-22 15:44:58 +10:00
randr Correct access mode in call to dixLookupWindow() within RRSelectInput. 2009-03-09 17:29:24 -04:00
record Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
render render: replace a wrong inputInfo.pointer with pDev 2009-03-16 13:29:07 +10:00
test Update to new XI2 names 2009-05-16 12:20:58 +10:00
Xext Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xfixes xfixes: Fix a couple of resource lookups 2009-04-14 14:24:40 -04:00
Xi Xi: Add support for Enter and FocusIn grabs. 2009-05-27 14:40:58 +10:00
xkb input: allow for master pointers to not have a button class. 2009-05-22 15:44:57 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Require inputproto 1.9.99.10 2009-05-27 14:19:09 +10:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00