summaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
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