X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fwm.h;h=7e677c23f449b3a82f794dc839eed26288901729;hb=906b341b177e5947710107eceb9ab2e4ee09528c;hp=406ef9dbf7a45cd07f0026ed8086eb5e31a7add8;hpb=287b4d5d1b7eadfe9d5d0aa3b33700f3e1bed55e;p=winnie diff --git a/src/wm.h b/src/wm.h index 406ef9d..7e677c2 100644 --- a/src/wm.h +++ b/src/wm.h @@ -44,11 +44,20 @@ 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); + + void set_unfocused_frame_color(int r, int g, int b); Window *get_grab_window() const; void grab_mouse(Window *win); void release_mouse(); + + void raise_window(Window *win); + void sink_window(Window *win); }; extern WindowManager *wm;