summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-01-01 19:47:45 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2017-01-01 19:52:34 +0100
commitbadbd103ae9387912189f2aedf888fd89770ea10 (patch)
tree13aaffe3d93901f2714ea9a8f6f6ee681d37d0b3 /plugingui/nativewindow_x11.h
parent19136bce2c197943fa2c7476fe5b75edc87d6ac4 (diff)
Add a workaround for JUCE hosts.
The event time for them is always '0' and thus we couldn't recognize double-clicks.
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r--plugingui/nativewindow_x11.h2
1 files changed, 1 insertions, 1 deletions
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};