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
2017-05-22 17:27:11 +02:00
2015-07-06 00:52:18 -07:00
2017-06-19 17:37:23 +02:00
2017-05-11 13:45:44 +02:00
2017-06-21 21:30:33 +02:00
2016-04-27 20:37:47 +02:00
2017-06-21 21:30:33 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%