aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controller_hooks.hpp2
-rw-r--r--src/window_manager.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/controller_hooks.hpp b/src/controller_hooks.hpp
index 8e6558a..5b272d7 100644
--- a/src/controller_hooks.hpp
+++ b/src/controller_hooks.hpp
@@ -28,7 +28,7 @@ struct WindowManager;
struct controller_hooks
{
- struct WindowManager *app;
+ WindowManager *app;
void surface_created(uint32_t surface_id);
diff --git a/src/window_manager.hpp b/src/window_manager.hpp
index bd3f701..cc189b5 100644
--- a/src/window_manager.hpp
+++ b/src/window_manager.hpp
@@ -134,9 +134,9 @@ struct id_allocator
}
};
-struct WindowManager
+class WindowManager
{
-
+ public:
typedef std::unordered_map<uint32_t, struct compositor::rect> rect_map;
typedef std::function<void(const char *err_msg)> reply_func;