diff options
author | Monsta <[email protected]> | 2015-08-01 13:44:00 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-08-01 13:49:41 +0300 |
commit | 335b75772988824a5e16167c0f70dc8eb1647d49 (patch) | |
tree | b57b4dc02dfc192993f0bc6822cc4aa3f84d483a /src/core/window.c | |
parent | 2847fefe1ae96a795b08115e3e9d8fc45ec939ca (diff) | |
download | marco-335b75772988824a5e16167c0f70dc8eb1647d49.tar.bz2 marco-335b75772988824a5e16167c0f70dc8eb1647d49.tar.xz |
window menu: make minimize item insensitive when window should not
be minimized (e.g. delete confirmation dialog, logout dialog...)
Diffstat (limited to 'src/core/window.c')
-rw-r--r-- | src/core/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/window.c b/src/core/window.c index 44755b06..9e780390 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6721,8 +6721,8 @@ meta_window_show_menu (MetaWindow *window, if (!window->has_maximize_func) insensitive |= META_MENU_OP_UNMAXIMIZE | META_MENU_OP_MAXIMIZE; - /*if (!window->has_minimize_func) - insensitive |= META_MENU_OP_MINIMIZE;*/ + if (!window->has_minimize_func) + insensitive |= META_MENU_OP_MINIMIZE; /*if (!window->has_close_func) insensitive |= META_MENU_OP_DELETE;*/ |