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
This commit is contained in:
Elijah Newren 2007-04-11 02:37:30 +00:00 committed by Elijah Newren
parent dc9920b883
commit eb639a4650
2 changed files with 10 additions and 1 deletions

View File

@ -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> 2007-04-09 Elijah Newren <newren gmail com>
Add support for _NET_MOVERESIZE_WINDOW. #344521. Add support for _NET_MOVERESIZE_WINDOW. #344521.

View File

@ -6287,7 +6287,8 @@ recalc_window_features (MetaWindow *window)
* only recalc_window_features when something * only recalc_window_features when something
* has actually changed. * 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_minimize_func != window->has_minimize_func ||
old_has_move_func != window->has_move_func || old_has_move_func != window->has_move_func ||
old_has_resize_func != window->has_resize_func || old_has_resize_func != window->has_resize_func ||