aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-05-23 23:07:27 +0800
committercrupest <crupest@outlook.com>2019-05-23 23:07:27 +0800
commit9c2ece689c580f6857f50a81c09d423e6fed4a83 (patch)
treefb3e01fb00fbdbe76d052ee4e46392032848c884 /include/cru/ui/window.hpp
parent691918e9e25b4f7e4731ff8d0e563c6316160254 (diff)
downloadcru-9c2ece689c580f6857f50a81c09d423e6fed4a83.tar.gz
cru-9c2ece689c580f6857f50a81c09d423e6fed4a83.tar.bz2
cru-9c2ece689c580f6857f50a81c09d423e6fed4a83.zip
...
Diffstat (limited to 'include/cru/ui/window.hpp')
-rw-r--r--include/cru/ui/window.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp
index 0a81e2e1..140ac531 100644
--- a/include/cru/ui/window.hpp
+++ b/include/cru/ui/window.hpp
@@ -4,6 +4,7 @@
#include "event/ui_event.hpp"
#include <memory>
+#include <vector>
namespace cru::platform::native {
struct NativeWindow;
@@ -82,7 +83,7 @@ class Window final : public ContentControl {
private:
platform::native::NativeWindow* native_window_;
- EventRevokerGuard event_revoker_guard_;
+ std::vector<EventRevokerGuard> event_revoker_guards_;
std::shared_ptr<render::WindowRenderObject> render_object_;