x11: Always handle core device events before XI events
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 15 Jan 2010 16:28:00 +0000 (16:28 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 20 Jan 2010 00:39:18 +0000 (00:39 +0000)
commit94f9f3bd9345d8eb1551c429615473134e3f4e8f
treef91a8f50e6fea6eeca90bece86fe776fa8aa2cd3
parentdc39e9eff9de0797086ea1a505855724296981f7
x11: Always handle core device events before XI events

The XI 1.0 layer is complementary to the X11 core devices handling; this
means that core events will still be emitted for the core pointer and
keyboard devices, and that secondary (floating) devices should be
handled on top of that.

Thus, the XI event handling code should be executed (if explicitly
compiled in and enabled) if the core device events have not been parsed.

Note: this is going away with XI2, which completely replaces both core and
XI1 events.
clutter/x11/clutter-event-x11.c