From 63b00b9ee4d98cf9dc65b53ef1b27155da14d93e 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') diff --git a/src/core/window.c b/src/core/window.c index 55badf54..51bb870e 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6732,7 +6732,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