mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03: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