summaryrefslogtreecommitdiff
path: root/src/core/constraints.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/constraints.c')
-rw-r--r--src/core/constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c
index 4ac73ac5..68cf5ae1 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -437,7 +437,7 @@ setup_constraint_info (ConstraintInfo *info,
*/
if (meta_prefs_get_force_fullscreen() &&
- window->decorated &&
+ (window->decorated || !meta_window_is_client_decorated (window)) &&
meta_rectangle_equal (new, &xinerama_info->rect) &&
window->has_fullscreen_func &&
!window->fullscreen)