Jonas Ådahl 4afa66fe41 wayland/window: Update toplevel main monitor before non-toplevel
When updating the main monitor, make sure to update the toplevel main
monitor before trying to use that as the main monitor for non-toplevel
windows (such as popups). Without this, when the main monitor is
updated as a side effect to monitors being changed (for example due to
a hot plug event, or coming back from being suspended) the
main monitor pointer may, after 'monitors-changed' has completed, point to
freed memory resulting in undefined behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=784867
2017-07-17 09:59:34 +08:00
..
2015-04-27 16:36:56 -07:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2017-02-16 02:44:16 +01:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2017-02-21 19:51:46 +01:00