summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-02-28 19:35:32 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-02-28 19:35:32 +0200
commit7a7aaa338b89c0c66122958e7c6cb56322e73371 (patch)
treeaef25522c533604c89f7aaa67bec4d90cd3776a9
parent829ce2e3ca794d6c17a1ea9f0748ac75be5007fa (diff)
downloadmetacity-7a7aaa338b89c0c66122958e7c6cb56322e73371.tar.gz
window: remove frame from fullscreen windows
-rw-r--r--src/core/window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/window.c b/src/core/window.c
index b745cdd3..963e23a9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6963,16 +6963,14 @@ recalc_window_features (MetaWindow *window)
window->has_fullscreen_func = FALSE;
}
- /* We leave fullscreen windows decorated, just push the frame outside
- * the screen. This avoids flickering to unparent them.
- *
- * Note that setting has_resize_func = FALSE here must come after the
+ /* Note that setting has_resize_func = FALSE here must come after the
* above code that may disable fullscreen, because if the window
* is not resizable purely due to fullscreen, we don't want to
* disable fullscreen mode.
*/
if (window->fullscreen)
{
+ window->decorated = FALSE;
window->has_shade_func = FALSE;
window->has_move_func = FALSE;
window->has_resize_func = FALSE;