summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2019-02-28 15:42:53 +0800
committerraveit65 <[email protected]>2019-03-06 15:12:59 +0100
commit369338fb864c1069b6e2a32906beafe96bfe3a6d (patch)
tree2fb36f9c0f2bba31f526b416b6aa06501fd4281d /src/core
parent230f96cbd29d45c970e3c107e99d468396e91c90 (diff)
downloadmarco-369338fb864c1069b6e2a32906beafe96bfe3a6d.tar.bz2
marco-369338fb864c1069b6e2a32906beafe96bfe3a6d.tar.xz
Do not judge whether the window is decorated or not
Diffstat (limited to 'src/core')
-rw-r--r--src/core/constraints.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c
index c3acb128..2c56c780 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -1528,7 +1528,6 @@ constrain_titlebar_visible (MetaWindow *window,
window->type == META_WINDOW_DOCK ||
window->fullscreen ||
!window->require_titlebar_visible ||
- !window->decorated ||
unconstrained_user_action)
return TRUE;