From 9469b7e7c4776b2563a144dfb2b90b9676056857 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 14 Dec 2001 10:15:26 +0000 Subject: Fixed rootwindow so text shows up on all screens --- src/Theme.cc | 3 +-- src/Theme.hh | 2 +- 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) { #endif -Theme::Theme(Display *display, Colormap colormap, int screennum, BImageControl *ic, const char *filename) { +Theme::Theme(Display *display, Window rootwindow, Colormap colormap, int screennum, BImageControl *ic, const char *filename) { - Window rootwindow = DefaultRootWindow(display); m_screennum = screennum; m_display = display; 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 { public: - Theme(Display *display, Colormap colormap, int screennum, BImageControl *ic, const char *filename); + Theme(Display *display, Window rootwindow, Colormap colormap, int screennum, BImageControl *ic, const char *filename); ~Theme(); -- cgit v0.11.2