Get rid of the 'click' variable. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Decompose mouse event translation function: move mouse event handling to separate function. This decomposition can be used for low-level processing of high-level mouse events. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>