diff --git a/src/icons.cc b/src/icons.cc index 274472c..a598376 100644 --- a/src/icons.cc +++ b/src/icons.cc @@ -146,7 +146,6 @@ CreateIconWindow(TwmWindow* win, int def_x, int def_y) unsigned long valuemask; /* mask for create windows */ XSetWindowAttributes attributes; /* attributes for create windows */ Pixmap pm = None; /* tmp pixmap variable */ - int x; FB(win->iconc.fore, win->iconc.back); @@ -337,7 +336,7 @@ CreateIconWindow(TwmWindow* win, int def_x, int def_y) if (pm != None && (! (win->wmhints && win->wmhints->flags & IconWindowHint))) { - int y; + int x, y; y = 0; if (win->icon_w_width == win->icon_width)