pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebbac77
)
Remove unneded call to draw
author
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Sun, 23 Jun 2013 10:13:26 +0000
(12:13 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Thu, 4 Jul 2013 07:14:50 +0000
(09:14 +0200)
draw is the function which update the Xwindow with the information st has,
and it is designed in a way that it must be called once in the main loop
(run function), and calling it in other places it is a waste of time.
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
96111a0
..
2809592
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-916,7
+916,6
@@
bpress(XEvent *e) {
if(sel.snap != 0) {
sel.mode++;
tsetdirt(sel.nb.y, sel.ne.y);
- draw();
}
sel.tclick2 = sel.tclick1;
sel.tclick1 = now;