summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-10 18:39:27 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-10 18:39:27 +0100
commit09e923d965a86a944dad7d77b336721386f6bf63 (patch)
tree1000abf99b16bb6d70d8d88f1cd26096b634b027 /plugingui/eventhandler.h
parent53fa1c76c27726670f2724793d867d817c029709 (diff)
Return a list of events form native window instead of one event at a time.
Diffstat (limited to 'plugingui/eventhandler.h')
-rw-r--r--plugingui/eventhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/eventhandler.h b/plugingui/eventhandler.h
index 6269baf..31ab3e2 100644
--- a/plugingui/eventhandler.h
+++ b/plugingui/eventhandler.h
@@ -28,6 +28,7 @@
#include <notifier.h>
#include <memory>
+#include <queue>
#include "guievent.h"
#include "nativewindow.h"
@@ -62,6 +63,8 @@ private:
// Used to ignore mouse button release after a double click.
bool lastWasDoubleClick;
+
+ std::queue<std::shared_ptr<Event>> events;
};
} // GUI::