diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-04 22:09:40 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-04 22:11:23 +0200 |
| commit | 52fe157384f9a493b7f96f9e1374a56cc7369280 (patch) | |
| tree | 237bd75b2b916dd7df3540b75b6e01f4399397e6 /x.c | |
| parent | 4c01cfd24e5f32beb00abaed8d110856559610b0 (diff) | |
| parent | fa253f077f19b3220c7655b81bd91e52f4367803 (diff) | |
| download | st-52fe157384f9a493b7f96f9e1374a56cc7369280.tar.gz st-52fe157384f9a493b7f96f9e1374a56cc7369280.tar.bz2 st-52fe157384f9a493b7f96f9e1374a56cc7369280.zip | |
Merge remote-tracking branch 'suckless/master'
Diffstat (limited to 'x.c')
| -rw-r--r-- | x.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1536,8 +1536,8 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og, Line line, int le /* draw the new one */ if (IS_SET(MODE_FOCUSED)) { switch (win.cursor) { - case 7: /* st extension: snowman (U+2603) */ - g.u = 0x2603; + case 7: /* st extension */ + g.u = 0x2603; /* snowman (U+2603) */ /* FALLTHROUGH */ case 0: /* Blinking Block */ case 1: /* Blinking Block (Default) */ @@ -1700,8 +1700,7 @@ xsetmode(int set, unsigned int flags) int xsetcursor(int cursor) { - DEFAULT(cursor, 1); - if (!BETWEEN(cursor, 0, 6)) + if (!BETWEEN(cursor, 0, 7)) /* 7: st extension */ return 1; win.cursor = cursor; return 0; @@ -1993,7 +1992,7 @@ main(int argc, char *argv[]) { xw.l = xw.t = 0; xw.isfixed = False; - win.cursor = cursorshape; + xsetcursor(cursorshape); ARGBEGIN { case 'a': |
