summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ebbac77)
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.
if(sel.snap != 0) {
sel.mode++;
tsetdirt(sel.nb.y, sel.ne.y);
if(sel.snap != 0) {
sel.mode++;
tsetdirt(sel.nb.y, sel.ne.y);
}
sel.tclick2 = sel.tclick1;
sel.tclick1 = now;
}
sel.tclick2 = sel.tclick1;
sel.tclick1 = now;