--- sithwm-1.2.3/menu.c +++ sithwm-1.2.3/menu.c @@ -355,7 +355,7 @@ int freem = 1; int freestrs = 1; struct area a; - unsigned int mask; + unsigned int mask = NoValue; char*p=global_buffer; char ent_type[3] = "\0"; for (;;) { --- sithwm-1.2.3/misc.c +++ sithwm-1.2.3/misc.c @@ -21,7 +21,7 @@ char *dot = strchr(colon, '.'); if (!dot) dot = colon + strlen(colon); - snprintf(dot, 5, ".%d", current_screen-screens); + snprintf(dot, 5, ".%ld", current_screen-screens); putenv(ebuf); } snprintf(global_buffer, sizeof global_buffer, "%s&", command); --- sithwm-1.2.3/screen.c +++ sithwm-1.2.3/screen.c @@ -146,6 +146,9 @@ }break; default: iwin.w = 0; + iwin.h = 0; + iwin.pos.x = 0; + iwin.pos.y = 0; } int stackwidth = opt_popup_stack_width;