summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2022-10-03 02:44:54 +0300
committerraveit65 <[email protected]>2022-10-15 10:34:36 +0200
commit4bd4942da80bf73320993eb1dd3c9aedf8123b11 (patch)
tree302cf2e68350ebe4c267222e83d846426e9e8c5e
parentb0c94c09881af61634011a61c10b947e37de3030 (diff)
downloadmarco-4bd4942da80bf73320993eb1dd3c9aedf8123b11.tar.bz2
marco-4bd4942da80bf73320993eb1dd3c9aedf8123b11.tar.xz
window: do not disable fullscreen for dialogs
fixes https://github.com/mate-desktop/marco/issues/735
-rw-r--r--src/core/window.c3
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;