From cd07c257060b899bc939d8dd02a930773a486da6 Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Tue, 31 Jul 2007 12:20:14 +0000 Subject: [PATCH] windows which are always on top have the "stick" menu option insensitive. 2007-06-31 Thomas Thurman * 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 --- ChangeLog | 5 +++++ src/window.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a34718c79..8613df870 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-31 Thomas Thurman + + * 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 * src/window.h (MetaWindow): Put all bitfields together to diff --git a/src/window.c b/src/window.c index 064c8f56d..71b28125e 100644 --- a/src/window.c +++ b/src/window.c @@ -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) ||