diff options
author | Roberto E. Vargas Caballero | 2013-06-23 12:13:26 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2013-07-04 09:14:50 +0200 |
commit | 90c6f055b637a58da0381a21b4a290ce26f56d8f (patch) | |
tree | 8a3eec10bc1756b237733a3e679221189f7d6398 | |
parent | ebbac77d7416d365a2a33f159780ef0f06cc3351 (diff) | |
download | st-90c6f055b637a58da0381a21b4a290ce26f56d8f.tar.gz st-90c6f055b637a58da0381a21b4a290ce26f56d8f.tar.xz st-90c6f055b637a58da0381a21b4a290ce26f56d8f.zip |
Remove unneded call to draw
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.
-rw-r--r-- | st.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |