[hackers] [st] If the selection is cleared, draw() and do it on button press too. || Christoph Lohmann
changeset: 285:363bc885e96d
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 05 22:17:42 2012 +0200
files: st.c
description:
If the selection is cleared, draw() and do it on button press too.
diff -r 07a1189fbf89 -r 363bc885e96d st.c
--- a/st.c Wed Sep 05 21:55:45 2012 +0200
+++ b/st.c Wed Sep 05 22:17:42 2012 +0200
_AT_@ -551,6 +551,7 @@
sel.mode = 1;
sel.ex = sel.bx = X2COL(e->xbutton.x);
sel.ey = sel.by = Y2ROW(e->xbutton.y);
+ draw();
}
}
_AT_@ -619,6 +620,7 @@
return;
sel.bx = -1;
tsetdirt(sel.b.y, sel.e.y);
+ draw();
}
void
Received on Wed Sep 05 2012 - 22:19:29 CEST
This archive was generated by hypermail 2.3.0
: Wed Sep 05 2012 - 22:24:09 CEST