forked from AuroraMiddleware/gtk
gtkwindow: Hide CSD title bar when undecorated
When switching from decorated to undecorated, the title bar should be hidden as well. https://bugzilla.gnome.org/show_bug.cgi?id=782117
This commit is contained in:
parent
de4818f088
commit
5209995171
@ -6015,7 +6015,8 @@ update_csd_visibility (GtkWindow *window)
|
||||
if (priv->title_box == NULL)
|
||||
return FALSE;
|
||||
|
||||
visible = !priv->fullscreen &&
|
||||
visible = priv->decorated &&
|
||||
!priv->fullscreen &&
|
||||
!(priv->titlebar == priv->title_box &&
|
||||
priv->maximized &&
|
||||
priv->hide_titlebar_when_maximized);
|
||||
|
Loading…
Reference in New Issue
Block a user