From 4bd4942da80bf73320993eb1dd3c9aedf8123b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Mon, 3 Oct 2022 02:44:54 +0300 Subject: window: do not disable fullscreen for dialogs fixes https://github.com/mate-desktop/marco/issues/735 --- src/core/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/window.c b/src/core/window.c index 00ddd58a..de3f9c99 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6729,7 +6729,8 @@ recalc_window_features (MetaWindow *window) window->has_resize_func = FALSE; } - if (window->type != META_WINDOW_NORMAL) + if (window->type != META_WINDOW_NORMAL && + window->type != META_WINDOW_DIALOG) { window->has_minimize_func = FALSE; window->has_maximize_func = FALSE; -- cgit v1.2.1