wrepaint() used to also set the cursor for the window
if it was current. this reset the corner cursors on
bandresize when one tried to attempt to size a window
that was not current. make repaint just repaint the
window and border. set cursor explicitely for hold
toggle.
--w->holding;
else
w->holding++;
+ wsetcursor(w, 0);
wrepaint(w);
if(r == Kesc)
return;
wsetcols(w);
if(!w->mouseopen)
frredraw(w);
- if(w == input){
+ if(w == input)
wborder(w, Selborder);
- wsetcursor(w, 0);
- }else
+ else
wborder(w, Unselborder);
}
break;
case Holdon:
case Holdoff:
+ if(w == input)
+ wsetcursor(w, 0);
+ /* no break */
case Repaint:
if(w->deleted)
break;
break;
}
if(strncmp(x->data, "holdoff", 7)==0 && w->holding){
- if(--w->holding == FALSE)
+ if(--w->holding == 0)
wsendctlmesg(w, Holdoff, ZR, nil);
break;
}
if(strncmp(x->data, "rawon", 5)==0){
if(w->holding){
- w->holding = FALSE;
+ w->holding = 0;
wsendctlmesg(w, Holdoff, ZR, nil);
}
if(w->rawing++ == 0)