summary |
log |
commit |
diff |
tree
raw |
patch |
inline | side by side (from parent 1:
89cf0fc)
Otherwise a tangling bmotion event will consider
the selection still valid and selnormalize segfaults
because of an invalid sel.ob.y index.
selclear(XEvent *e) {
if(sel.ob.x == -1)
return;
selclear(XEvent *e) {
if(sel.ob.x == -1)
return;
sel.ob.x = -1;
tsetdirt(sel.nb.y, sel.ne.y);
}
sel.ob.x = -1;
tsetdirt(sel.nb.y, sel.ne.y);
}