From badbd103ae9387912189f2aedf888fd89770ea10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 1 Jan 2017 19:47:45 +0100 Subject: Add a workaround for JUCE hosts. The event time for them is always '0' and thus we couldn't recognize double-clicks. --- plugingui/nativewindow_x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/nativewindow_x11.h') diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h index 50cd904..db6ec76 100644 --- a/plugingui/nativewindow_x11.h +++ b/plugingui/nativewindow_x11.h @@ -62,7 +62,7 @@ private: Window& window; - int last_click{0}; + Time last_click{0}; Display* display{nullptr}; int screen{0}; -- cgit v1.2.3