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:
Thomas Thurman 2007-07-31 12:20:14 +00:00 committed by Thomas James Alexander Thurman
parent 3802f157b6
commit cd07c25706
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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) ||