summaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2009-05-01 22:15:34 (GMT)
committerJim Ramsay <i.am@jimramsay.com>2009-05-01 22:15:34 (GMT)
commit8c7f2ea10eadb76de4eb42d1b4c841171539db17 (patch)
treebcf79ecd06a138ac560d79324aa80bebd08677d4 /src/Ewmh.cc
parentdfa360e8905509e3e19db4279fc4066e52014676 (diff)
downloadfluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.zip
fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.tar.bz2
Everything but Text
Managed 32-bit visuals for everything, but text is broken (menus, titlebars, etc)
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index b64a95d..3579461 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -195,7 +195,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
195 height = icon_data.begin()->first.second; 195 height = icon_data.begin()->first.second;
196 196
197 // tmp image for the pixmap 197 // tmp image for the pixmap
198 XImage* img_pm = XCreateImage(dpy, DefaultVisual(dpy, scrn), winclient.depth(), 198 XImage* img_pm = XCreateImage(dpy, FbTk::App::instance()->defaultVisual(scrn), winclient.depth(),
199 ZPixmap, 199 ZPixmap,
200 0, NULL, width, height, 32, 0); 200 0, NULL, width, height, 32, 0);
201 if (!img_pm) { 201 if (!img_pm) {
@@ -204,7 +204,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
204 } 204 }
205 205
206 // tmp image for the mask 206 // tmp image for the mask
207 XImage* img_mask = XCreateImage(dpy, DefaultVisual(dpy, scrn), 1, 207 XImage* img_mask = XCreateImage(dpy, FbTk::App::instance()->defaultVisual(scrn), 1,
208 XYBitmap, 208 XYBitmap,
209 0, NULL, width, height, 32, 0); 209 0, NULL, width, height, 32, 0);
210 210