After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752875 - wayland: Fix initial fullscreen monitor support
wayland: Fix initial fullscreen monitor support
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-07-26 00:25 UTC by Giovanni Campagna
Modified: 2015-07-26 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: Fix initial fullscreen monitor support (1.28 KB, patch)
2015-07-26 00:25 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2015-07-26 00:25:07 UTC
-1 means that we have no specific preference for an initial
fullscreen monitor, and -1 is less than the number of monitors,
so we would end up accessing invalid memory. Prevent that.
Comment 1 Giovanni Campagna 2015-07-26 00:25:11 UTC
Created attachment 308161 [details] [review]
wayland: Fix initial fullscreen monitor support
Comment 2 Matthias Clasen 2015-07-26 02:02:59 UTC
Review of attachment 308161 [details] [review]:

of course
Comment 3 Matthias Clasen 2015-07-26 05:57:36 UTC
Attachment 308161 [details] pushed as 83b7a0f - wayland: Fix initial fullscreen monitor support