diff options
author | Monsta <[email protected]> | 2015-08-01 13:44:00 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-20 14:29:54 +0200 |
commit | b837b76071e88227ddd95067dc4576e7f53ba4f7 (patch) | |
tree | a846745e6a0551bb91df4e98e64db909a252e547 /src | |
parent | 37f2f987d777f7542bda97402cb092a4710db409 (diff) | |
download | marco-b837b76071e88227ddd95067dc4576e7f53ba4f7.tar.bz2 marco-b837b76071e88227ddd95067dc4576e7f53ba4f7.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')
-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 9b2ad926..dea5fa47 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6722,8 +6722,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;*/ |