From: Christophe CURIS <[email protected]>

It was used to access the session state, which was stored in the
screen scruct, which is now more logically in the global namespace.
---
 src/dock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dock.c b/src/dock.c
index 2385700..2af999a 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -4829,7 +4829,7 @@ finish:
 /* Same kind of comment than for previous function: this function is
  * very similar to make_icon_state, but has substential differences as
  * well. */
-static WMPropList *drawerSaveState(WScreen *scr, WDock *drawer)
+static WMPropList *drawerSaveState(WDock *drawer)
 {
        WMPropList *pstr, *drawer_state;
        WAppIcon *ai;
@@ -4884,7 +4884,7 @@ void wDrawersSaveState(WScreen *scr)
        for (i=0, dc = scr->drawers;
             i < scr->drawer_count;
             i++, dc = dc->next) {
-               drawer_state = drawerSaveState(scr, dc->adrawer);
+               drawer_state = drawerSaveState(dc->adrawer);
                WMAddToPLArray(all_drawers, drawer_state);
                WMReleasePropList(drawer_state);
        }
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to