mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
windows which are always on top have the "stick" menu option insensitive.
2007-06-31 Thomas Thurman <thomas@thurman.org.uk> * src/window.c (meta_window_show_menu): windows which are always on top have the "stick" menu option insensitive. (#460997). svn path=/trunk/; revision=3282
This commit is contained in:

committed by
Thomas James Alexander Thurman

parent
3802f157b6
commit
cd07c25706
@ -6504,7 +6504,7 @@ meta_window_show_menu (MetaWindow *window,
|
||||
insensitive |= META_MENU_OP_RESIZE;
|
||||
|
||||
if (window->always_sticky)
|
||||
insensitive |= META_MENU_OP_UNSTICK | META_MENU_OP_WORKSPACES;
|
||||
insensitive |= META_MENU_OP_STICK | META_MENU_OP_UNSTICK | META_MENU_OP_WORKSPACES;
|
||||
|
||||
if ((window->type == META_WINDOW_DESKTOP) ||
|
||||
(window->type == META_WINDOW_DOCK) ||
|
||||
|
Reference in New Issue
Block a user