aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-04-10 18:18:14 (GMT)
committersimonb <simonb>2005-04-10 18:18:14 (GMT)
commit88c66f0687d2a9e2018f22407b2587dc4d87d012 (patch)
tree197308ad2426783058f479d12329548c6a8a4374 /src/FbTk/FbPixmap.cc
parent6cf66c66554a20a1c98eddf26af9e35b7c90cbd5 (diff)
downloadfluxbox-88c66f0687d2a9e2018f22407b2587dc4d87d012.zip
fluxbox-88c66f0687d2a9e2018f22407b2587dc4d87d012.tar.bz2
Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
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;