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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h
index 10c2026..abc8af0 100644
--- a/plugingui/nativewindow_x11.h
+++ b/plugingui/nativewindow_x11.h
@@ -55,12 +55,10 @@ public:
void handleBuffer() override;
void redraw() override;
void grabMouse(bool grab) override;
- bool hasEvent() override;
- std::shared_ptr<Event> getNextEvent() override;
- std::shared_ptr<Event> peekNextEvent() override;
+ std::queue<std::shared_ptr<Event>> getEvents() override;
private:
- std::shared_ptr<Event> translateXMessage(XEvent& xevent, bool peek = false);
+ std::shared_ptr<Event> translateXMessage(XEvent& xevent);
//! Allocate new shared memory buffer for the pixel buffer.
//! Frees the existing buffer if there is one.