summaryrefslogtreecommitdiff
path: root/util/bsetroot.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-14 19:32:09 +0000
committerDana Jansens <danakj@orodu.net>2002-04-14 19:32:09 +0000
commit3eb75618dc090ea9c71670ecdae75c9bc6321a4a (patch)
tree758786170979a462eab397e73f21c19527997e74 /util/bsetroot.cc
parent25cbe08cb6c46740b63f1259256433558bf38a5f (diff)
Fixed bsetroot to use the new Geometries returned in ScreenInfo
Diffstat (limited to 'util/bsetroot.cc')
-rw-r--r--util/bsetroot.cc4
1 files changed, 2 insertions, 2 deletions
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(),