summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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;