GNOME Bugzilla – Bug 724258
window: don't set _NET_WM_FULLSCREEN_MONITORS to bogus values
Last modified: 2014-02-13 12:10:48 UTC
Prior to the DisplayConfig merge, we would set _NET_WM_FULLSCREEN_MONITORS to (unsigned)-1 when unset. After that, we would have invalid reads inside meta_screen_monitor_index_to_xinerama_index() (called with -1). The way I read the specification, the proper way to indicate that the window is back to fullscreen on all monitors is to remove the property, so do that. Also, add an assertion that meta_screne_monitor_index_to_xinerama_index() is doing the right thing.
Created attachment 268967 [details] [review] window: don't set _NET_WM_FULLSCREEN_MONITORS to bogus values
Review of attachment 268967 [details] [review]: Looks OK.
Attachment 268967 [details] pushed as 3aac2bf - window: don't set _NET_WM_FULLSCREEN_MONITORS to bogus values