aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorsimonb <simonb>2006-05-17 10:28:26 (GMT)
committersimonb <simonb>2006-05-17 10:28:26 (GMT)
commit5ddabb0f390f69db793b5a6e40be9f94b8f83136 (patch)
treedf25ac8877f8d64665af1d23055e1b0abeca5138 /src/FbTk
parent22060cac47ec81c0161e52e33af8e4385c6cd794 (diff)
downloadfluxbox-5ddabb0f390f69db793b5a6e40be9f94b8f83136.zip
fluxbox-5ddabb0f390f69db793b5a6e40be9f94b8f83136.tar.bz2
fix root pixmap + atoms indexes in FbPixmap
Fixes issues with transparency on multiple screens, and probably also some alternate rootbg atoms
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/FbPixmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc
index 30f2c05..a7c49a1 100644
--- a/src/FbTk/FbPixmap.cc
+++ b/src/FbTk/FbPixmap.cc
@@ -369,7 +369,7 @@ void FbPixmap::rootwinPropertyNotify(int screen_num, Atom atom) {
369 unsigned long *data; 369 unsigned long *data;
370 370
371 if (XGetWindowProperty(display(), 371 if (XGetWindowProperty(display(),
372 RootWindow(display(), i), 372 RootWindow(display(), screen_num),
373 root_prop_atoms[i], 373 root_prop_atoms[i],
374 0l, 1l, 374 0l, 1l,
375 False, XA_PIXMAP, 375 False, XA_PIXMAP,
@@ -437,7 +437,7 @@ Pixmap FbPixmap::getRootPixmap(int screen_num, bool force_update) {
437 checkAtoms(); 437 checkAtoms();
438 if (XGetWindowProperty(display(), 438 if (XGetWindowProperty(display(),
439 RootWindow(display(), i), 439 RootWindow(display(), i),
440 root_prop_atoms[i], 440 root_prop_atoms[prop],
441 0l, 1l, 441 0l, 1l,
442 False, XA_PIXMAP, 442 False, XA_PIXMAP,
443 &real_type, &real_format, 443 &real_type, &real_format,