mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-06 21:37:49 +00:00
fix: gtk titlebar being restored if it shouldn't be
This commit is contained in:
committed by
Mitchell Hashimoto
parent
e39745113a
commit
80eb406b82
@@ -646,7 +646,7 @@ fn gtkWindowNotifyMaximized(
|
||||
if (!self.winproto.clientSideDecorationEnabled()) return;
|
||||
|
||||
if (!maximized) {
|
||||
self.headerbar.setVisible(true);
|
||||
self.headerbar.setVisible(self.app.config.@"gtk-titlebar");
|
||||
return;
|
||||
}
|
||||
if (self.app.config.@"gtk-titlebar-hide-when-maximized") {
|
||||
|
||||
Reference in New Issue
Block a user