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:
committed by
Carlos R. Mafra
parent
9c252988f8
commit
e86b8dcb2f
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user