Jonas Ådahl 8a7876ded5 wayland: Don't cancel the pointer grab on compositor grabs
We shouldn't cancel the pointer grab when there is a compositor grab,
since that'd break things like drag-n-drop via the overview and
alt-tabs.

The original reason for cancelling the pointer grab on compositor grabs
was to avoid a re-entry when a compositor grab was activated while
there was an active pointer constraint grab. The re-entry would happen
when the compositor grab cleared the pointer focus. Clearing the focus
would trigger the pointer constraint to be deactivated, which would end
its grab. Ending the grab would reset the grab to the default one, which
could focus the same surface again, triggering the constraint to
re-enable before it finished disabling.

This is now avoided because the default grab handler is now aware of
compositor grabs, and won't override the cleared pointer focus until
the compositor grab ends.

https://bugzilla.gnome.org/show_bug.cgi?id=772914
2016-10-19 15:45:33 +08:00
2016-09-02 17:04:11 +08:00
2016-08-19 11:04:48 +02:00
2015-07-06 00:52:18 -07:00
2016-10-17 18:26:41 +02:00
2014-03-18 20:37:35 -04:00
2016-10-11 00:34:34 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2016-10-11 00:34:34 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%