diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-29 09:32:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-29 09:32:52 +0100 |
commit | f59d2329c904e8cb5f6509050444bf2aee4b8f65 (patch) | |
tree | c1e2ed264664c030d96399016221072e9dabfc8e /plugingui/nativewindow_x11.h | |
parent | 77cd0b84e1cef83a4fa9b77663cea65b42355f7a (diff) |
Move event skip optimization fromNativeWindowXYZ to EventHandler
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r-- | plugingui/nativewindow_x11.h | 2 |
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; |