Fixed rootwindow so text shows up on all screens
This commit is contained in:
parent
3a98d6a8eb
commit
9469b7e7c4
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue