aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Theme.cc3
-rw-r--r--src/Theme.hh2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Theme.cc b/src/Theme.cc
index d477ecc..ac9f4dc 100644
--- a/src/Theme.cc
+++ b/src/Theme.cc
@@ -82,9 +82,8 @@ const char * strcasestr(const char *str, const char *ptn) {
82 82
83#endif 83#endif
84 84
85Theme::Theme(Display *display, Colormap colormap, int screennum, BImageControl *ic, const char *filename) { 85Theme::Theme(Display *display, Window rootwindow, Colormap colormap, int screennum, BImageControl *ic, const char *filename) {
86 86
87 Window rootwindow = DefaultRootWindow(display);
88 m_screennum = screennum; 87 m_screennum = screennum;
89 m_display = display; 88 m_display = display;
90 m_imagecontrol = ic; 89 m_imagecontrol = ic;
diff --git a/src/Theme.hh b/src/Theme.hh
index 0054c27..e02b8af 100644
--- a/src/Theme.hh
+++ b/src/Theme.hh
@@ -62,7 +62,7 @@ class Theme
62{ 62{
63public: 63public:
64 64
65 Theme(Display *display, Colormap colormap, int screennum, BImageControl *ic, const char *filename); 65 Theme(Display *display, Window rootwindow, Colormap colormap, int screennum, BImageControl *ic, const char *filename);
66 ~Theme(); 66 ~Theme();
67 67
68 68