mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05: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:
parent
3802f157b6
commit
cd07c25706
@ -1,3 +1,8 @@
|
|||||||
|
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).
|
||||||
|
|
||||||
2007-06-23 Thomas Thurman <thomas@thurman.org.uk>
|
2007-06-23 Thomas Thurman <thomas@thurman.org.uk>
|
||||||
|
|
||||||
* src/window.h (MetaWindow): Put all bitfields together to
|
* src/window.h (MetaWindow): Put all bitfields together to
|
||||||
|
@ -6504,7 +6504,7 @@ meta_window_show_menu (MetaWindow *window,
|
|||||||
insensitive |= META_MENU_OP_RESIZE;
|
insensitive |= META_MENU_OP_RESIZE;
|
||||||
|
|
||||||
if (window->always_sticky)
|
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) ||
|
if ((window->type == META_WINDOW_DESKTOP) ||
|
||||||
(window->type == META_WINDOW_DOCK) ||
|
(window->type == META_WINDOW_DOCK) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user