mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +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 (!self.winproto.clientSideDecorationEnabled()) return;
|
||||||
|
|
||||||
if (!maximized) {
|
if (!maximized) {
|
||||||
self.headerbar.setVisible(true);
|
self.headerbar.setVisible(self.app.config.@"gtk-titlebar");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (self.app.config.@"gtk-titlebar-hide-when-maximized") {
|
if (self.app.config.@"gtk-titlebar-hide-when-maximized") {
|
||||||
|
Reference in New Issue
Block a user