diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-10 19:52:34 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-10 20:11:31 +0100 |
commit | dc33f15a6b968139779c2b7d2003d3ef6e7d5748 (patch) | |
tree | 949172db6cdb9ed2b03bfe9f5051f51a683ecd19 /plugingui/nativewindow_x11.h | |
parent | f9d2d48214038689dc42085373b28b934f7fe002 (diff) |
Clean up guievent.h and use EventQueue type instead if std::queue.
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r-- | plugingui/nativewindow_x11.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h index b2021c0..a026ac8 100644 --- a/plugingui/nativewindow_x11.h +++ b/plugingui/nativewindow_x11.h @@ -57,7 +57,7 @@ public: void handleBuffer() override; void redraw() override; void grabMouse(bool grab) override; - std::queue<std::shared_ptr<Event>> getEvents() override; + EventQueue getEvents() override; private: void translateXMessage(XEvent& xevent); @@ -88,7 +88,7 @@ private: Visual* visual{nullptr}; Atom wmDeleteMessage{0}; - std::queue<std::shared_ptr<Event>> event_queue; + EventQueue event_queue; }; } // GUI:: |