* in progress *
[winnie] / src / wm.h
index dfac319..e3f4040 100644 (file)
--- a/src/wm.h
+++ b/src/wm.h
@@ -3,6 +3,7 @@
 
 #include <list>
 #include "geom.h"
+#include "pixmap.h"
 
 class Window;
 
@@ -14,6 +15,8 @@ private:
        int bg_color[3];
        Window *focused_win;
 
+       Pixmap mouse_cursor;
+
 public:
        WindowManager();
 
@@ -25,6 +28,8 @@ public:
        void set_focused_window(Window *win);
        const Window *get_focused_window() const;
        Window *get_focused_window();
+
+       Window *get_window_at_pos(int pointer_x, int pointer_y);
 };
 
 extern WindowManager *wm;