aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/window.hpp
diff options
context:
space:
mode:
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_;