aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 441c849..c09154d 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -131,7 +131,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
131 // actually there is some data in _NET_WM_ICON 131 // actually there is some data in _NET_WM_ICON
132 nr_icon_data = nr_bytes_left / sizeof(CARD32); 132 nr_icon_data = nr_bytes_left / sizeof(CARD32);
133 133
134 fbdbg << "extractNetWmIcon: " << winclient.title() << "\n"; 134 fbdbg << "extractNetWmIcon: " << winclient.title().logical() << "\n";
135 fbdbg << "nr_icon_data: " << nr_icon_data << "\n"; 135 fbdbg << "nr_icon_data: " << nr_icon_data << "\n";
136 136
137 // read all the icons stored in _NET_WM_ICON 137 // read all the icons stored in _NET_WM_ICON
@@ -164,7 +164,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
164 if (width >= nr_icon_data) { 164 if (width >= nr_icon_data) {
165 165
166 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON width (" 166 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON width ("
167 << width << ") for " << winclient.title() << "\n"; 167 << width << ") for " << winclient.title().logical() << "\n";
168 break; 168 break;
169 } 169 }
170 170
@@ -172,7 +172,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
172 if (height >= nr_icon_data) { 172 if (height >= nr_icon_data) {
173 173
174 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON height (" 174 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON height ("
175 << height << ") for " << winclient.title() << "\n"; 175 << height << ") for " << winclient.title().logical() << "\n";
176 176
177 break; 177 break;
178 } 178 }
@@ -180,7 +180,8 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) {
180 // strange values stored in the NETWM_ICON 180 // strange values stored in the NETWM_ICON
181 if (i + width * height > nr_icon_data) { 181 if (i + width * height > nr_icon_data) {
182 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON dimensions (" 182 fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON dimensions ("
183 << width << "x" << height << ")for " << winclient.title() << "\n"; 183
184 << width << "x" << height << ")for " << winclient.title().logical() << "\n";
184 185
185 break; 186 break;
186 } 187 }