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
..
2014-12-03 12:05:37 +00:00
2014-12-03 12:11:55 +00:00
2013-04-04 11:53:39 +01:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 19:26:49 +00:00
2014-12-11 22:35:13 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2012-09-03 20:54:43 +01:00
2014-12-11 22:35:13 +00:00
2014-03-17 18:53:27 +00:00
2014-04-02 18:48:59 +01:00