constraints: CSD windows need to have their titlebar kept onscreen too

GTK+ CSD windows are considered undecorated by the code, so we should
not force ourselves to only run on decorated windows.

https://bugzilla.gnome.org/show_bug.cgi?id=719772
This commit is contained in:
Jasper St. Pierre 2014-01-21 12:59:51 -05:00
parent ac32b9ef95
commit 59f79e8294

View File

@ -1353,7 +1353,6 @@ constrain_titlebar_visible (MetaWindow *window,
window->type == META_WINDOW_DOCK ||
window->fullscreen ||
!window->require_titlebar_visible ||
!window->decorated ||
unconstrained_user_action)
return TRUE;