11 std::list<Window*> windows;
12 std::list<Rect> dirty_rects;
20 void invalidate_region(const Rect &rect);
21 void process_windows();
23 void add_window(Window *win);
25 void set_focused_window(Window *win);
26 const Window *get_focused_window() const;
27 Window *get_focused_window();
29 Window *get_window_at_pos(int pointer_x, int pointer_y);
32 extern WindowManager *wm;