diff options
author | Alberts Muktupāvels <[email protected]> | 2022-10-03 02:44:54 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-10-15 11:23:27 +0200 |
commit | 63b00b9ee4d98cf9dc65b53ef1b27155da14d93e (patch) | |
tree | 78742e51df7eb79038c838f1aa71f6b8933849db /src/core/window.c | |
parent | d173ab019c6928cfdefa6355ab0aca61f969804f (diff) | |
download | marco-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/core/window.c')
-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 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; |