From: "Roberto E. Vargas Caballero" <k...@shike2.com> 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 | 1 - 1 file changed, 1 deletion(-)
diff --git a/st.c b/st.c index 91a6f8b..43bae1c 100644 --- a/st.c +++ b/st.c @@ -927,7 +927,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; -- 1.7.10.4