aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-29 14:38:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-29 14:38:04 +0000
commitea2d7f8b8c5782d422d02058861fa9a754055b17 (patch)
tree150350b1a7da835f44a8c9aa54ca64f288b66370 /render.c
parentinput: fix 'unused variable' warning (release builds) (diff)
input: start window move right away if user starts dragging the window
When the user left-clicks the title-bar, we start a timer. When the timer has elapsed, we initiate a 'move' operation. However, if the user clicked, and then started dragging right away, there was a very visible lag since we waited for the timeout before starting the move. Now, on a pointer motion event we detect a running 'move' timer, and abort it and instead start the 'move' operation right away.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions