mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Variable workspace_menu moved to workspace object in global namespace
The variable workspace_menu, that contains the workspace_menu is moved to the global workspace properties. Now the screen is not needed to know the workspace_menu. This variable is moved to the global workspace struct because it is related to the workspace system, and not to the screen.
This commit is contained in:
committed by
Carlos R. Mafra
parent
f0c5073600
commit
9c252988f8
@@ -1202,8 +1202,8 @@ void wReadDefaults(WScreen * scr, WMPropList * new_dict)
|
||||
WMPostNotificationName(WNIconTileSettingsChanged, NULL, NULL);
|
||||
|
||||
if (needs_refresh & REFRESH_WORKSPACE_MENU) {
|
||||
if (scr->workspace_menu)
|
||||
wWorkspaceMenuUpdate(scr, scr->workspace_menu);
|
||||
if (w_global.workspace.menu)
|
||||
wWorkspaceMenuUpdate(scr, w_global.workspace.menu);
|
||||
if (scr->clip_ws_menu)
|
||||
wWorkspaceMenuUpdate(scr, scr->clip_ws_menu);
|
||||
if (scr->workspace_submenu)
|
||||
|
||||
Reference in New Issue
Block a user