mutter/clutter/x11
Sjoerd Simons 1be019852f device-manager-xi2: Fix core pointer retrieval race
The core pointer concept doesn't really exist anymore in an XI2 world,
so the clutter API is a bit of a mismatch with what X provides. Using
XIGetClientPointer doesn't really help, as far as i can tell the
semantics of XIGetClientPointer are essentially: Whatever the X server
picked when it had to reply with device-dependant data to a query
without a device specifier. Not very useful...

To make matters worse, whether XIGetClientPointer returns a valid
pointer depends on whether there has been a query that forced it to pick
one in the first place, making the whole thing pretty non-deterministic.

This patch changes things around such that instead of using
XIGetClientPointer to determine the core pointer, we simply pick the
first master pointer device. In practise this will essentially always
be the X virtual core pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=729462
2014-12-15 17:29:52 +00:00
..
xsettings
clutter-backend-x11.c clutter-settings: Mark window-scaling-factor as fixed when set by the app 2014-08-23 14:02:56 +02:00
clutter-backend-x11.h
clutter-device-manager-core-x11.c x11: Apply the window scaling factor 2013-09-19 22:51:52 +01:00
clutter-device-manager-core-x11.h
clutter-device-manager-xi2.c device-manager-xi2: Fix core pointer retrieval race 2014-12-15 17:29:52 +00:00
clutter-device-manager-xi2.h device-manager-xi2: Fix core pointer retrieval race 2014-12-15 17:29:52 +00:00
clutter-event-x11.c Avoid needless event copies when queueing from a backend to a stage 2014-03-15 19:44:57 +00:00
clutter-glx-texture-pixmap.c Deprecate ClutterTexture's API 2012-07-11 13:22:21 +01:00
clutter-glx-texture-pixmap.h Annotate symbols in backend-specific headers 2014-03-17 19:26:49 +00:00
clutter-glx.h
clutter-input-device-core-x11.c x11: Remove unused variable 2013-07-12 09:57:23 +01:00
clutter-input-device-core-x11.h input-device-x11: Remove more dead code 2013-07-11 14:09:43 -04:00
clutter-input-device-xi2.c input-device-xi2: Calculate the correct state for button events 2013-11-14 14:30:30 -05:00
clutter-input-device-xi2.h ClutterEvent: add API to query the full keyboard state when the event was generated 2013-09-09 13:18:23 +02:00
clutter-keymap-x11.c x11: Add keymap direction query 2014-03-03 23:42:33 +00:00
clutter-keymap-x11.h x11: Add keymap direction query 2014-03-03 23:42:33 +00:00
clutter-settings-x11.h settings: Add window scaling related settings 2014-01-20 12:26:46 +00:00
clutter-stage-x11.c Remove unused internal 'in-resize' flag 2014-08-15 12:07:48 +01:00
clutter-stage-x11.h x11/stage: Remove CLUTTER_SCALE handling 2014-01-20 12:26:46 +00:00
clutter-x11-texture-pixmap.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-x11-texture-pixmap.h Annotate symbols in backend-specific headers 2014-03-17 19:26:49 +00:00
clutter-x11.h x11: Add missing closure annotation to ClutterX11FilterFunc 2014-10-02 09:27:36 +02:00