mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Removed unused WScreen argument in dock's drawer state functions
It was used to access the session state, which was stored in the screen scruct, which is now more logically in the global namespace.
This commit is contained in:
committed by
Carlos R. Mafra
parent
6ad22c8672
commit
b7ae1b50e2
@@ -4829,7 +4829,7 @@ finish:
|
|||||||
/* Same kind of comment than for previous function: this function is
|
/* Same kind of comment than for previous function: this function is
|
||||||
* very similar to make_icon_state, but has substential differences as
|
* very similar to make_icon_state, but has substential differences as
|
||||||
* well. */
|
* well. */
|
||||||
static WMPropList *drawerSaveState(WScreen *scr, WDock *drawer)
|
static WMPropList *drawerSaveState(WDock *drawer)
|
||||||
{
|
{
|
||||||
WMPropList *pstr, *drawer_state;
|
WMPropList *pstr, *drawer_state;
|
||||||
WAppIcon *ai;
|
WAppIcon *ai;
|
||||||
@@ -4884,7 +4884,7 @@ void wDrawersSaveState(WScreen *scr)
|
|||||||
for (i=0, dc = scr->drawers;
|
for (i=0, dc = scr->drawers;
|
||||||
i < scr->drawer_count;
|
i < scr->drawer_count;
|
||||||
i++, dc = dc->next) {
|
i++, dc = dc->next) {
|
||||||
drawer_state = drawerSaveState(scr, dc->adrawer);
|
drawer_state = drawerSaveState(dc->adrawer);
|
||||||
WMAddToPLArray(all_drawers, drawer_state);
|
WMAddToPLArray(all_drawers, drawer_state);
|
||||||
WMReleasePropList(drawer_state);
|
WMReleasePropList(drawer_state);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user