aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 7a10c12..a276dc1 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -340,14 +340,14 @@ void WinClient::updateTitle() {
340 if (m_title_override) 340 if (m_title_override)
341 return; 341 return;
342 342
343 m_title = string(Xutil::getWMName(window()), 0, 512); 343 m_title.setLogical(FbTk::FbString(Xutil::getWMName(window()), 0, 512));
344 titleSig().emit(m_title, *this); 344 titleSig().emit(m_title.logical(), *this);
345} 345}
346 346
347void WinClient::setTitle(const FbTk::FbString &title) { 347void WinClient::setTitle(const FbTk::FbString &title) {
348 m_title = title; 348 m_title.setLogical(title);
349 m_title_override = true; 349 m_title_override = true;
350 titleSig().emit(m_title, *this); 350 titleSig().emit(m_title.logical(), *this);
351} 351}
352 352
353void WinClient::setIcon(const FbTk::PixmapWithMask& pm) { 353void WinClient::setIcon(const FbTk::PixmapWithMask& pm) {
@@ -355,7 +355,7 @@ void WinClient::setIcon(const FbTk::PixmapWithMask& pm) {
355 m_icon.pixmap().copy(pm.pixmap()); 355 m_icon.pixmap().copy(pm.pixmap());
356 m_icon.mask().copy(pm.mask()); 356 m_icon.mask().copy(pm.mask());
357 m_icon_override = true; 357 m_icon_override = true;
358 titleSig().emit(m_title, *this); 358 titleSig().emit(m_title.logical(), *this);
359} 359}
360 360
361void WinClient::setFluxboxWindow(FluxboxWindow *win) { 361void WinClient::setFluxboxWindow(FluxboxWindow *win) {