diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/sithwm/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/sithwm/files')
-rw-r--r-- | x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch b/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch new file mode 100644 index 000000000000..c2653dcd8db9 --- /dev/null +++ b/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch @@ -0,0 +1,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; |