summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
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,