diff options
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c index ce601ac..f2b2a6b 100644 --- a/src/session.c +++ b/src/session.c @@ -275,6 +275,7 @@ WriteWinConfigEntry(FILE *configFile, TwmWindow *theWindow, { char **wm_command; int wm_command_count; + unsigned udummy = 0; if (!write_counted_string(configFile, clientId)) return 0; @@ -333,7 +334,7 @@ WriteWinConfigEntry(FILE *configFile, TwmWindow *theWindow, Window wdummy = None; XGetGeometry(dpy, theWindow->icon_w, &wdummy, &icon_x, - &icon_y, &JunkWidth, &JunkHeight, &JunkBW, &JunkDepth); + &icon_y, &udummy, &udummy, &udummy, &udummy); if (!write_short(configFile, (short) icon_x)) return 0; |