aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbPixmap.cc')
-rw-r--r--src/FbTk/FbPixmap.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc
index ed9a771..e573945 100644
--- a/src/FbTk/FbPixmap.cc
+++ b/src/FbTk/FbPixmap.cc
@@ -311,13 +311,12 @@ Pixmap FbPixmap::getRootPixmap(int screen_num) {
311 if (XGetWindowProperty(display(), 311 if (XGetWindowProperty(display(),
312 RootWindow(display(), screen_num), 312 RootWindow(display(), screen_num),
313 XInternAtom(display(), prop_ids[prop], False), 313 XInternAtom(display(), prop_ids[prop], False),
314 0l, 4l, 314 0l, 1l,
315 False, XA_PIXMAP, 315 False, XA_PIXMAP,
316 &real_type, &real_format, 316 &real_type, &real_format,
317 &items_read, &items_left, 317 &items_read, &items_left,
318 (unsigned char **) &data) == Success) { 318 (unsigned char **) &data) == Success) {
319 if (real_format == 32 && items_read == 1) { 319 if (real_format == 32 && items_read == 1) {
320
321 if (print_error && strcmp(prop_ids[prop], "_XSETROOT_ID") == 0) { 320 if (print_error && strcmp(prop_ids[prop], "_XSETROOT_ID") == 0) {
322 cerr<<error_message; 321 cerr<<error_message;
323 print_error = false; 322 print_error = false;