all repos — openbox @ 3eb75618dc090ea9c71670ecdae75c9bc6321a4a

openbox fork - make it a bit more like ryudo

Fixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens danakj@orodu.net
commit

3eb75618dc090ea9c71670ecdae75c9bc6321a4a

parent

25cbe08cb6c46740b63f1259256433558bf38a5f

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M util/Makefile.amutil/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
M util/bsetroot.ccutil/bsetroot.cc

@@ -220,8 +220,8 @@ if (! texture.getColorTo()->isAllocated())

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(),