GNOME Bugzilla – Bug 779383
quartz: Let CSD windows be fullscreen
Last modified: 2017-03-02 13:12:05 UTC
I've found that I need this patch to make it possible for windows with headerbar to be made fullscreen on OS X.
Created attachment 346938 [details] [review] quartz: Let CSD windows be fullscreen
Review of attachment 346938 [details] [review]: Seems to be okay, according to the developer documentation. The symbol is available since macOS 10.7, which is definitely what we require these days.
Created attachment 346942 [details] [review] Convince OS X to fully fullscreen windows We typically want to have the full screen given to the content, not the aspect-ratio preserving behavior that newer OS X has.
Something is not quite right yet. With the second patch, unfullscreening does not restore the previous window size.
Maybe we need to store the previous size ourselves, and restore it by using windowDidExitFullscreen? See: https://developer.apple.com/library/content/documentation/General/Conceptual/MOSXAppProgrammingGuide/FullScreenApp/FullScreenApp.html
Comment on attachment 346938 [details] [review] quartz: Let CSD windows be fullscreen Attachment 346938 [details] pushed as 169e2d8 - quartz: Let CSD windows be fullscreen
Created attachment 347018 [details] [review] Convince OS X to fully fullscreen windows We typically want to have the full screen given to the content, not the aspect-ratio preserving behavior that newer OS X has.
This one works and restores the unfullscreened window size
Review of attachment 347018 [details] [review]: Looking good.
Attachment 347018 [details] pushed as 015ff46 - Convince OS X to fully fullscreen windows