Sam Spilsbury a662e7bb87 windowMenu: Check if monitorIndex is valid before using it
Calling meta_window_get_monitor on an unmanaged window may return
-1, so we need to check the return value.

https://bugzilla.gnome.org/show_bug.cgi?id=788882


(cherry picked from commit c9bf72c5c4e8a94ff66fd191cb79165bed2831e5)
2018-08-31 14:38:54 +00:00
..