summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/Makefile.am4
-rw-r--r--util/bsetroot.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/util/Makefile.am b/util/Makefile.am
index 50a0aebf..6fdafeda 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -7,7 +7,7 @@ bin_SCRIPTS = bsetbg
bin_PROGRAMS = bsetroot
bsetroot_SOURCES = bsetroot.cc
-bsetroot_LDADD = ../src/BaseDisplay.o ../src/LinkedList.o ../src/Timer.o ../src/Image.o ../src/i18n.o
+bsetroot_LDADD = ../src/BaseDisplay.o ../src/LinkedList.o ../src/Timer.o ../src/Image.o ../src/i18n.o ../src/Geometry.o
MAINTAINERCLEANFILES = Makefile.in
@@ -15,4 +15,4 @@ distclean-local:
rm -f *\~
bsetroot.o: bsetroot.cc ../config.h bsetroot.h ../src/BaseDisplay.h \
- ../src/LinkedList.h ../src/Timer.h ../src/Image.h
+ ../src/LinkedList.h ../src/Timer.h ../src/Image.h ../src/Geometry.h
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index d9cd4fb2..db789612 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -220,8 +220,8 @@ void bsetroot::gradient(void) {
texture.getColorTo()->setPixel(BlackPixel(getXDisplay(), screen));
pixmaps[screen] =
- img_ctrl[screen]->renderImage(getScreenInfo(screen)->getWidth(),
- getScreenInfo(screen)->getHeight(),
+ img_ctrl[screen]->renderImage(getScreenInfo(screen)->size().w(),
+ getScreenInfo(screen)->size().h(),
&texture);
XSetWindowBackgroundPixmap(getXDisplay(),