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

Removed unused WScreen argument from workspace's state functions

Now that the workspace are not more attached to a screen, the
parameter is not needed anymore.
This commit is contained in:
Christophe CURIS
2013-10-12 15:35:48 +02:00
committed by Carlos R. Mafra
parent fd869154c6
commit 803eb68fc4
3 changed files with 3 additions and 3 deletions

View File

@@ -873,7 +873,7 @@ void wScreenSaveState(WScreen * scr)
}
}
wWorkspaceSaveState(scr, old_state);
wWorkspaceSaveState(old_state);
if (!wPreferences.flags.nodrawer) {
wDrawersSaveState(scr);

View File

@@ -798,7 +798,7 @@ void wWorkspaceMenuUpdate(WMenu *menu)
wMenuPaint(menu);
}
void wWorkspaceSaveState(WScreen * scr, WMPropList * old_state)
void wWorkspaceSaveState(WMPropList * old_state)
{
WMPropList *parr, *pstr, *wks_state, *old_wks_state, *foo, *bar;
int i;

View File

@@ -38,7 +38,7 @@ void wWorkspaceForceChange(WScreen *scr, int workspace);
WMenu *wWorkspaceMenuMake(WScreen *scr, Bool titled);
void wWorkspaceMenuUpdate(WMenu *menu);
void wWorkspaceMenuEdit(WScreen *scr);
void wWorkspaceSaveState(WScreen *scr, WMPropList *old_state);
void wWorkspaceSaveState(WMPropList *old_state);
void wWorkspaceRestoreState(WScreen *scr);
void wWorkspaceRename(WScreen *scr, int workspace, const char *name);
void wWorkspaceRelativeChange(WScreen *scr, int amount);