xserver-multidpi/dix
Chase Douglas d0449851d1 Create a new dix touch record for an emulated touch with no listeners
As a special case, if a still physically active pointer emulated touch
has no listeners and the device is explicitly grabbed for pointer
events, create a new dix touch record for the grab only.

This allows for clients to "hand off" grabs. For example, when dragging
a window under compiz the window decorator sees the button press and
then ungrabs the implicit grab. It then tells compiz to grab the device,
and compiz then moves the window with the pointer motion. This is racy,
but is allowed by the input protocol for pointer events when there are
no other clients with a grab on the device.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-18 13:58:40 -07:00
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
atom.c Introduce a consistent coding style 2012-03-21 13:54:42 -07: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 Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
cursor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
devices.c Xext: Add per-device SyncCounters 2012-03-22 13:12:56 +10:00
dispatch.c Fix copy/paste error from before git history in UpdateCurrentTimeIf() 2012-04-18 13:58:40 -07:00
dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dixfonts.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dixutils.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
enterleave.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
enterleave.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
eventconvert.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
events.c When activating an explicit grab, update owning listener 2012-04-18 13:58:40 -07:00
extension.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
ffs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
gc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
getevents.c dix: don't BUG_WARN for button events from button-only device 2012-04-12 10:11:10 +10:00
globals.c Change lastDeviceIdleTime to be per-device 2012-03-22 13:12:56 +10:00
glyphcurs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
grabs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
initatoms.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
inpututils.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
main.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am input: add a TouchClassRec to the devices 2011-12-19 09:08:36 +10:00
pixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
privates.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
property.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol.txt Add DRI2 requests to protocol.txt 2009-08-28 23:29:05 -04:00
ptrveloc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
region.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
registry.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
resource.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
selection.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swaprep.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swapreq.c Indentation: Change '& stuff' to '&stuff' 2012-03-21 14:02:30 -07:00
tables.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
touch.c Create a new dix touch record for an emulated touch with no listeners 2012-04-18 13:58:40 -07:00
window.c Change lastDeviceIdleTime to be per-device 2012-03-22 13:12:56 +10:00
Xserver-dtrace.h.in dix: add dtrace probes to input API 2012-03-22 11:33:42 +10:00
Xserver.d dix: add dtrace probes to input API 2012-03-22 11:33:42 +10:00