Jonas Ådahl 1da239c83c wayland/pointer-constraints: Unify requirements for enablement
Put the conditions for enabling a pointer constraint in a helper
function, and use that in both maybe_enable() and maybe_remove(). The
constraint region checking is still only done in maybe_enable()
however.

This changes the conditions for maybe disabling the constraint on focus
change and other trigger points, namely it makes constraints by Xwayland
not disable when they shouldn't due to the constraining window being an
override-redirect window.

https://bugzilla.gnome.org/show_bug.cgi?id=771859
2016-10-19 17:20:14 +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
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
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%