summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-29 21:16:43 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-29 21:16:43 +0100
commit66a51cd2c4474c89bce6a7429bd9b8172f748ac0 (patch)
tree70cf8aaba404e6b91fe4a22806ed03ff75514eb2 /plugingui/nativewindow_x11.h
parentf59d2329c904e8cb5f6509050444bf2aee4b8f65 (diff)
Fix missing mouse release. Use wswitch in xeven handling.
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 2529631..d7b3902 100644
--- a/plugingui/nativewindow_x11.h
+++ b/plugingui/nativewindow_x11.h
@@ -53,7 +53,7 @@ public:
Event* peekNextEvent() override;
private:
- Event* translateXMessage(XEvent& xevent);
+ Event* translateXMessage(XEvent& xevent, bool peek = false);
XImage* createImageFromBuffer(unsigned char* buf, int width, int height);
::Window xwindow;