aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 3b4ea51..eadea4b 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -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() << "\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() << "\n";
176 176
177 break; 177 break;
178 } 178 }
@@ -180,7 +180,7 @@ 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 << width << "x" << height << ")for " << winclient.title() << "\n";
184 184
185 break; 185 break;
186 } 186 }
@@ -1293,7 +1293,7 @@ bool Ewmh::propertyNotify(WinClient &winclient, Atom the_property) {
1293 if (!newtitle.empty()) 1293 if (!newtitle.empty())
1294 winclient.setTitle(newtitle); 1294 winclient.setTitle(newtitle);
1295 if (winclient.fbwindow()) 1295 if (winclient.fbwindow())
1296 winclient.fbwindow()->titleSig().notify(); 1296 winclient.fbwindow()->titleSig().emit(newtitle, *winclient.fbwindow());
1297 return true; 1297 return true;
1298 } else if (the_property == m_net->wm_icon_name) { 1298 } else if (the_property == m_net->wm_icon_name) {
1299 // we don't use icon title, since we don't show icons 1299 // we don't use icon title, since we don't show icons