diff options
author | Alberts Muktupāvels <[email protected]> | 2022-10-03 02:44:54 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-10-15 10:34:36 +0200 |
commit | 4bd4942da80bf73320993eb1dd3c9aedf8123b11 (patch) | |
tree | 302cf2e68350ebe4c267222e83d846426e9e8c5e /src | |
parent | b0c94c09881af61634011a61c10b947e37de3030 (diff) | |
download | marco-4bd4942da80bf73320993eb1dd3c9aedf8123b11.tar.bz2 marco-4bd4942da80bf73320993eb1dd3c9aedf8123b11.tar.xz |
window: do not disable fullscreen for dialogs
fixes https://github.com/mate-desktop/marco/issues/735
Diffstat (limited to 'src')
-rw-r--r-- | src/core/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |