aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Transparent.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-11 15:52:23 (GMT)
committerrathnor <rathnor>2004-09-11 15:52:23 (GMT)
commit28c32c087adde2b7b1ede54fd3d4db796259ec9f (patch)
tree6643c6b9777d720c6f8c30654790c75360589288 /src/FbTk/Transparent.cc
parentb063688992c877a19556b36e8140e4d4b6890a0c (diff)
downloadfluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.zip
fluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.tar.bz2
more X error fixing
Diffstat (limited to 'src/FbTk/Transparent.cc')
-rw-r--r--src/FbTk/Transparent.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/Transparent.cc b/src/FbTk/Transparent.cc
index 9cc377e..b6521b9 100644
--- a/src/FbTk/Transparent.cc
+++ b/src/FbTk/Transparent.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Transparent.cc,v 1.7 2004/09/10 16:48:15 akir Exp $ 22// $Id: Transparent.cc,v 1.8 2004/09/11 15:52:23 rathnor Exp $
23 23
24#include "Transparent.hh" 24#include "Transparent.hh"
25#include "App.hh" 25#include "App.hh"
@@ -60,7 +60,7 @@ Picture createAlphaPic(Window drawable, unsigned char alpha) {
60 Pixmap alpha_pm = XCreatePixmap(disp, drawable, 60 Pixmap alpha_pm = XCreatePixmap(disp, drawable,
61 1, 1, 8); 61 1, 1, 8);
62 if (alpha_pm == 0) { 62 if (alpha_pm == 0) {
63 cerr<<"FbTk::Transparent: "<<_FBTKTEXT(Error, NoRenderPixmap, "Warning: Failed to create alpha pixmap.", "XCreatePixmap files for our transparency pixmap")<<endl; 63 cerr<<"FbTk::Transparent: "<<_FBTKTEXT(Error, NoRenderPixmap, "Warning: Failed to create alpha pixmap.", "XCreatePixmap failed for our transparency pixmap")<<endl;
64 return 0; 64 return 0;
65 } 65 }
66 66
@@ -131,7 +131,6 @@ Transparent::Transparent(Drawable src, Drawable dest, unsigned char alpha, int s
131 XRenderFindVisualFormat(disp, 131 XRenderFindVisualFormat(disp,
132 DefaultVisual(disp, screen_num)); 132 DefaultVisual(disp, screen_num));
133 133
134
135 if (src != 0 && format != 0) { 134 if (src != 0 && format != 0) {
136 m_src_pic = XRenderCreatePicture(disp, src, format, 135 m_src_pic = XRenderCreatePicture(disp, src, format,
137 0, 0); 136 0, 0);