csd: hide invisible borders when tiled or fullscreen

This is the expected behavior, and matches what mutter does.
This commit is contained in:
Matthias Clasen
2013-07-05 14:53:05 -04:00
parent 776111fadf
commit 3982532145

View File

@@ -6224,7 +6224,10 @@ update_border_windows (GtkWindow *window)
&border);
gtk_style_context_restore (context);
if (!priv->resizable || gtk_window_get_maximized (window))
if (!priv->resizable ||
priv->tiled ||
priv->fullscreen ||
gtk_window_get_maximized (window))
{
resize_h = resize_v = FALSE;
}