window: fix ignoring greater than triple-clicks
window: fix ignoring greater than triple-clicks

Anything greater than a triple-click now "restarts" the click counter,
causing the fourth click to register as a single click and the fifth
click to register as a double-click and so on.

aleksijuvani/polygonist