bug fixes, added background image
[winnie] / src / wm.h
index 140a3b0..0ba8a04 100644 (file)
--- a/src/wm.h
+++ b/src/wm.h
@@ -28,6 +28,7 @@ private:
        Window *grab_win;
 
        Pixmap mouse_cursor;
+       Pixmap *background;
 
        void create_frame(Window *win);
        void destroy_frame(Window *win);
@@ -55,6 +56,9 @@ public:
        void set_unfocused_frame_color(int r, int g, int b);
        void get_unfocused_frame_color(int *r, int *g, int *b) const;
 
+       void set_background(const Pixmap *pixmap);
+       const Pixmap *get_background() const;
+
        Window *get_grab_window() const;
 
        void grab_mouse(Window *win);