diff options
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -880,8 +880,8 @@ xclear(int x1, int y1, int x2, int y2) | |||
880 | void | 880 | void |
881 | xhints(void) | 881 | xhints(void) |
882 | { | 882 | { |
883 | XClassHint class = {opt_name ? opt_name : "st", | 883 | XClassHint class = {opt_name ? opt_name : termname, |
884 | opt_class ? opt_class : "St"}; | 884 | opt_class ? opt_class : termname}; |
885 | XWMHints wm = {.flags = InputHint, .input = 1}; | 885 | XWMHints wm = {.flags = InputHint, .input = 1}; |
886 | XSizeHints *sizeh; | 886 | XSizeHints *sizeh; |
887 | 887 | ||
@@ -2125,7 +2125,6 @@ main(int argc, char *argv[]) | |||
2125 | { | 2125 | { |
2126 | xw.l = xw.t = 0; | 2126 | xw.l = xw.t = 0; |
2127 | xw.isfixed = False; | 2127 | xw.isfixed = False; |
2128 | xsetcursor(cursorshape); | ||
2129 | 2128 | ||
2130 | ARGBEGIN { | 2129 | ARGBEGIN { |
2131 | case 'a': | 2130 | case 'a': |
@@ -2185,6 +2184,7 @@ run: | |||
2185 | die("Can't open display\n"); | 2184 | die("Can't open display\n"); |
2186 | 2185 | ||
2187 | config_init(); | 2186 | config_init(); |
2187 | xsetcursor(cursorshape); | ||
2188 | cols = MAX(cols, 1); | 2188 | cols = MAX(cols, 1); |
2189 | rows = MAX(rows, 1); | 2189 | rows = MAX(rows, 1); |
2190 | tnew(cols, rows); | 2190 | tnew(cols, rows); |