fixed focus: get_window_at_pos now searches back to front in root_window
[winnie] / src / wm.h
index b675539..7e677c2 100644 (file)
--- a/src/wm.h
+++ b/src/wm.h
@@ -44,6 +44,7 @@ public:
        Window *get_focused_window();
 
        Window *get_window_at_pos(int pointer_x, int pointer_y);
+       Window *get_root_window() const;
 
        void set_focused_frame_color(int r, int g, int b);
        void get_focused_frame_color(int *r, int *g, int *b);