summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r--plugingui/nativewindow_x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h
index fb43457..2529631 100644
--- a/plugingui/nativewindow_x11.h
+++ b/plugingui/nativewindow_x11.h
@@ -50,8 +50,10 @@ public:
void grabMouse(bool grab) override;
bool hasEvent() override;
Event* getNextEvent() override;
+ Event* peekNextEvent() override;
private:
+ Event* translateXMessage(XEvent& xevent);
XImage* createImageFromBuffer(unsigned char* buf, int width, int height);
::Window xwindow;