summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2022-10-03 02:44:54 +0300
committerraveit65 <[email protected]>2022-10-15 11:23:27 +0200
commit63b00b9ee4d98cf9dc65b53ef1b27155da14d93e (patch)
tree78742e51df7eb79038c838f1aa71f6b8933849db /src
parentd173ab019c6928cfdefa6355ab0aca61f969804f (diff)
downloadmarco-63b00b9ee4d98cf9dc65b53ef1b27155da14d93e.tar.bz2
marco-63b00b9ee4d98cf9dc65b53ef1b27155da14d93e.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.c3
1 files changed, 2 insertions, 1 deletions
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;