mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
quartz: Let CSD windows be fullscreen
I've found that I need this patch to make it possible for windows with headerbar to be made fullscreen on OS X. https://bugzilla.gnome.org/show_bug.cgi?id=779383
This commit is contained in:
parent
bbf7c6a715
commit
169e2d8d92
@ -2272,7 +2272,10 @@ gdk_quartz_window_set_decorations (GdkWindow *window,
|
||||
}
|
||||
|
||||
if (new_mask == NSBorderlessWindowMask)
|
||||
[impl->toplevel setContentSize:rect.size];
|
||||
{
|
||||
[impl->toplevel setContentSize:rect.size];
|
||||
[impl->toplevel setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
|
||||
}
|
||||
else
|
||||
[impl->toplevel setFrame:rect display:YES];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user