X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;h=a455bd569efde4f566095be2f28baa77f3ee5e47;hb=6459ba2f911c73e263cd6d7c3b40c2ff6ad05d48;hp=2d9283c2abc91ecdafeee868fe9f18260afffa87;hpb=f35cc2805277b466803534b7cd4345cd55a0deb0;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index 2d9283c..a455bd5 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -1531,7 +1531,6 @@ void priorws(struct swm_region *r, union arg *args) { union arg a; - struct swm_screen *s = r->s; DNPRINTF(SWM_D_WS, "priorws id %d " "in screen[%d]:%dx%d+%d+%d ws %d\n", args->id, @@ -4549,6 +4548,10 @@ setup_screens(void) setscreencolor("black", i + 1, SWM_S_COLOR_BAR); setscreencolor("rgb:a0/a0/a0", i + 1, SWM_S_COLOR_BAR_FONT); + /* set default cursor */ + XDefineCursor(display, screens[i].root, + XCreateFontCursor(display, XC_left_ptr)); + /* init all workspaces */ /* XXX these should be dynamically allocated too */ for (j = 0; j < SWM_WS_MAX; j++) {