summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-14 10:15:26 (GMT)
committerfluxgen <fluxgen>2001-12-14 10:15:26 (GMT)
commit9469b7e7c4776b2563a144dfb2b90b9676056857 (patch)
tree1a3ec6f31e5ab9170ec7feb5426c88082919e8b2 /src
parent3a98d6a8ebd6adaa239ccfefebaf189bf10bac85 (diff)
downloadfluxbox_lack-9469b7e7c4776b2563a144dfb2b90b9676056857.zip
fluxbox_lack-9469b7e7c4776b2563a144dfb2b90b9676056857.tar.bz2
Fixed rootwindow so text shows up on all screens
Diffstat (limited to 'src')
-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