forked from AuroraMiddleware/gtk
window: Hide titlebox when undecorated
We don't draw or size-allocate the titlebar when the window is fullscreen or undecorated, so reflect this by setting it to !child_visible. This can happen when changing the value of the decorated property while the window is shown.
This commit is contained in:
parent
81cdc8713c
commit
f5e8d7a4e2
@ -5806,7 +5806,8 @@ update_csd_visibility (GtkWindow *window)
|
||||
if (priv->title_box == NULL)
|
||||
return FALSE;
|
||||
|
||||
visible = !priv->fullscreen;
|
||||
visible = !priv->fullscreen &&
|
||||
priv->decorated;
|
||||
|
||||
gtk_widget_set_child_visible (priv->title_box, visible);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user