summaryrefslogtreecommitdiff
blob: c2653dcd8db9a8924858b71e825776264b8a3e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- 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;