From 6de7271ab6aed15f349f61e7d3a5a46d0734a201 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Mon, 16 Apr 2007 04:48:14 +0000 Subject: Remove incorrect usage of window.h from menu.c. See #426791 & #382962. 2007-04-15 Elijah Newren Remove incorrect usage of window.h from menu.c. See #426791 & #382962. * src/menu.c (enum MetaMenuItemType, variable menuitems, meta_menu_item_new): cleanup: add a MENU_ITEM_RADIOBUTTON for the sticky stuff * src/menu.c (variable menuitems): * src/core.c (meta_core_get_menu_accelerator): * src/window.c (menu_callback, meta_window_show_menu): * src/common.h (enum MetaMenuOp): reinstate META_MENU_OP_UNABOVE * src/menu.c (meta_window_menu_new): remove hacks (using inappropriate data) for STICK/UNSTICK/ABOVE and clean it up while just setting STICK/UNSTICK activeness as necessary * src/menu.[ch] (meta_window_menu_new): * src/ui.[ch] (meta_ui_window_menu_new): make the active_workspace parameter an unsigned long 2007-04-15 Bruno Boaventura * src/menu.c (meta_window_menu_new): don't show the current workspace as a possible workspace to switch to. Fixes #426791. svn path=/trunk/; revision=3196 --- src/menu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menu.h') diff --git a/src/menu.h b/src/menu.h index 6bb544a..39bb7fa 100644 --- a/src/menu.h +++ b/src/menu.h @@ -47,7 +47,7 @@ MetaWindowMenu* meta_window_menu_new (MetaFrames *frames, MetaMenuOp ops, MetaMenuOp insensitive, Window client_xwindow, - int active_workspace, + unsigned long active_workspace, int n_workspaces, MetaWindowMenuFunc func, gpointer data); -- cgit v1.1