Emmanuele Bassi 25c6ebbb2c x11: Discard the LeaveNotify for off-stage ButtonRelease
If the user presses a button on a pointer device and then moves out the
Stage X11 will emit the following events:

  LeaveNotify ➔ MotionNotify ... ➔ ButtonRelease ➔ LeaveNotify

The second LeaveNotify differs from the first by the state field.

Unfortunately, ClutterCrossingEvent doesn't have a modifier_state field
like other events, so we cannot provide a way for programmatically
distinguishing them from a Clutter perspective. This is also an X11-ism
we might not even want to replicate on every backend with sane
enter/leave semantics.

For this reason we should check inside the X11 event processing if the
pointer device has already left the Stage and ignore the second
LeaveNotify.
2010-01-20 00:38:09 +00:00
..
2010-01-12 17:10:15 +00:00
2009-11-06 11:48:42 +00:00
2009-01-20 18:47:50 +00:00
2009-10-14 11:31:26 +01:00
2010-01-20 00:38:07 +00:00
2009-07-10 11:38:42 +01:00
2009-10-19 12:01:38 +01:00
2009-12-11 23:48:58 +00:00
2009-10-16 15:55:05 +01:00