[metacity/argb-frame: 3/7] window: remove frame from fullscreen windows
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/argb-frame: 3/7] window: remove frame from fullscreen windows
- Date: Fri, 28 Feb 2020 18:12:04 +0000 (UTC)
commit 7a7aaa338b89c0c66122958e7c6cb56322e73371
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Feb 28 19:35:32 2020 +0200
window: remove frame from fullscreen windows
src/core/window.c | 6 ++----
1 file 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]