summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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;