fixed grab win initialization
[winnie] / src / wm.h
index 7e677c2..6b9f13d 100644 (file)
--- a/src/wm.h
+++ b/src/wm.h
@@ -8,6 +8,9 @@
 
 class Window;
 
+bool init_window_manager();
+void destroy_window_manager(); 
+
 class WindowManager {
 private:
        std::list<Window*> windows;
@@ -47,9 +50,10 @@ public:
        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 get_focused_frame_color(int *r, int *g, int *b) const;
 
        void set_unfocused_frame_color(int r, int g, int b);
+       void get_unfocused_frame_color(int *r, int *g, int *b) const;
 
        Window *get_grab_window() const;