aboutsummaryrefslogtreecommitdiff
path: root/util/bsetroot.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-27 21:52:34 (GMT)
committerfluxgen <fluxgen>2002-11-27 21:52:34 (GMT)
commitf604debc9feb28affd8e9108f4fd897017f704bd (patch)
tree830ab111e13935d1d7a907f43ae33f311490226f /util/bsetroot.cc
parentc9e62e7aee97862ec0e0527b4a963bc9d244e41c (diff)
downloadfluxbox-f604debc9feb28affd8e9108f4fd897017f704bd.zip
fluxbox-f604debc9feb28affd8e9108f4fd897017f704bd.tar.bz2
texture passed as const referens to BImageControl's renderImage
Diffstat (limited to 'util/bsetroot.cc')
-rw-r--r--util/bsetroot.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index d38a245..cb00594 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -18,7 +18,7 @@
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 20
21// $Id: bsetroot.cc,v 1.11 2002/11/26 17:48:58 fluxgen Exp $ 21// $Id: bsetroot.cc,v 1.12 2002/11/27 21:52:34 fluxgen Exp $
22 22
23#include "bsetroot.hh" 23#include "bsetroot.hh"
24 24
@@ -349,7 +349,7 @@ void bsetroot::gradient(void) {
349 texture.colorTo().setPixel(BlackPixel(getXDisplay(), screen)); 349 texture.colorTo().setPixel(BlackPixel(getXDisplay(), screen));
350 350
351 tmp = img_ctrl[screen]->renderImage(getScreenInfo(screen)->getWidth(), 351 tmp = img_ctrl[screen]->renderImage(getScreenInfo(screen)->getWidth(),
352 getScreenInfo(screen)->getHeight(), &texture); 352 getScreenInfo(screen)->getHeight(), texture);
353 353
354 pixmaps[screen] = XCreatePixmap(getXDisplay(), 354 pixmaps[screen] = XCreatePixmap(getXDisplay(),
355 getScreenInfo(screen)->getRootWindow(), 355 getScreenInfo(screen)->getRootWindow(),
@@ -365,7 +365,7 @@ void bsetroot::gradient(void) {
365 365
366 setRootAtoms(pixmaps[screen], screen); 366 setRootAtoms(pixmaps[screen], screen);
367 367
368 XSetWindowBackgroundPixmap(getXDisplay(), 368 XSetWindowBackgroundPixmap(getXDisplay(),
369 getScreenInfo(screen)->getRootWindow(), pixmaps[screen]); 369 getScreenInfo(screen)->getRootWindow(), pixmaps[screen]);
370 370
371 XClearWindow(getXDisplay(), getScreenInfo(screen)->getRootWindow()); 371 XClearWindow(getXDisplay(), getScreenInfo(screen)->getRootWindow());