fix root pixmap + atoms indexes in FbPixmap Fixes issues with transparency on multiple screens, and probably also some alternate rootbg atoms
simonb simonb
2 files changed,
6 insertions(+),
2 deletions(-)
M
src/FbTk/FbPixmap.cc
→
src/FbTk/FbPixmap.cc
@@ -369,7 +369,7 @@ unsigned long items_read, items_left;
unsigned long *data; if (XGetWindowProperty(display(), - RootWindow(display(), i), + RootWindow(display(), screen_num), root_prop_atoms[i], 0l, 1l, False, XA_PIXMAP,@@ -437,7 +437,7 @@ for (prop = 0; root_prop_ids[prop]; prop++) {
checkAtoms(); if (XGetWindowProperty(display(), RootWindow(display(), i), - root_prop_atoms[i], + root_prop_atoms[prop], 0l, 1l, False, XA_PIXMAP, &real_type, &real_format,