diff options
author | Elijah Newren <newren gmail com> | 2007-04-11 02:37:30 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2007-04-11 02:37:30 +0000 |
commit | eb639a46504c51e8f0f058c1fd23ea770fc65973 (patch) | |
tree | 4171862808a6b7a245d9c0c4540155bea9f76f34 | |
parent | dc9920b8837eb18c79147ea2e28d6eb2c5ef075e (diff) | |
download | metacity-eb639a46504c51e8f0f058c1fd23ea770fc65973.tar.gz |
make sure to set _NET_WM_ALLOWED_ACTIONS so that libwnck menus don't have
2007-04-10 Elijah Newren <newren gmail com>
* src/window.c (recalc_window_features): make sure to set
_NET_WM_ALLOWED_ACTIONS so that libwnck menus don't have sensitive
but ineffective menu items. The "On Top" item is now buggy, but
due to the fact that _NET_WM_ACTION_ABOVE is not yet defined in
the EWMH. Fixes #115247.
svn path=/trunk/; revision=3189
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/window.c | 3 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2007-04-10 Elijah Newren <newren gmail com> + + * src/window.c (recalc_window_features): make sure to set + _NET_WM_ALLOWED_ACTIONS so that libwnck menus don't have sensitive + but ineffective menu items. The "On Top" item is now buggy, but + due to the fact that _NET_WM_ACTION_ABOVE is not yet defined in + the EWMH. Fixes #115247. + 2007-04-09 Elijah Newren <newren gmail com> Add support for _NET_MOVERESIZE_WINDOW. #344521. diff --git a/src/window.c b/src/window.c index 4bf5b548..9aaa682d 100644 --- a/src/window.c +++ b/src/window.c @@ -6287,7 +6287,8 @@ recalc_window_features (MetaWindow *window) * only recalc_window_features when something * has actually changed. */ - if (old_has_close_func != window->has_close_func || + if (window->constructing || + old_has_close_func != window->has_close_func || old_has_minimize_func != window->has_minimize_func || old_has_move_func != window->has_move_func || old_has_resize_func != window->has_resize_func || |