diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 2bb3298..4416ff6 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -856,7 +856,7 @@ void FbWinFrame::buttonReleaseEvent(XButtonEvent &event) { | |||
856 | if (event.button < 1 || event.button > 5) | 856 | if (event.button < 1 || event.button > 5) |
857 | return; | 857 | return; |
858 | 858 | ||
859 | static int last_release_time = 0; | 859 | static Time last_release_time = 0; |
860 | bool double_click = (event.time - last_release_time <= m_double_click_time); | 860 | bool double_click = (event.time - last_release_time <= m_double_click_time); |
861 | last_release_time = event.time; | 861 | last_release_time = event.time; |
862 | int real_button = event.button - 1; | 862 | int real_button = event.button - 1; |