1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

Clip, Dock and Drawers menu moved to appropriate global namespace

The clip, dock, workspaces and drawers menus are common for all
workspaces, so they should be included in the global namespace
instead of the screen struct.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-10-08 00:56:35 +02:00
committed by Carlos R. Mafra
parent 9c252988f8
commit e86b8dcb2f
6 changed files with 69 additions and 62 deletions

View File

@@ -493,8 +493,23 @@ extern struct wmaker_global_variables {
/* Menus */
struct WMenu *menu; /* workspace operation */
struct WMenu *submenu; /* workspace list for window_menu */
} workspace;
/* Clip related */
struct {
struct WMenu *menu; /* Menu for clips */
struct WMenu *submenu; /* Workspace list for clips */
struct WMenu *opt_menu; /* Options for Clip */
struct WMenu *ws_menu; /* workspace menu for clip */
} clip;
/* Dock related */
struct {
struct WMenu *pos_menu; /* menu for position of the dock */
struct WMenu *drawer_menu; /* menu for the drawers */
} dock;
/* definition for X Atoms */
struct {