diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc index c2b3a62..e92c989 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1207,11 +1207,8 @@ void FluxboxWindow::updateTitleFromClient(WinClient &client) { | |||
1207 | client.updateTitle(); | 1207 | client.updateTitle(); |
1208 | // compare old title with new and see if we need to update | 1208 | // compare old title with new and see if we need to update |
1209 | // graphics | 1209 | // graphics |
1210 | if (m_labelbuttons[&client]->text() != client.title()) { | 1210 | if (m_labelbuttons[&client]->text() != client.title()) |
1211 | m_labelbuttons[&client]->setText(client.title()); | 1211 | m_labelbuttons[&client]->setText(client.title()); |
1212 | m_labelbuttons[&client]->clear(); // redraw text | ||
1213 | //m_labelbuttons[&client]->updateTransparent(); | ||
1214 | } | ||
1215 | } | 1212 | } |
1216 | 1213 | ||
1217 | /// update icon title from client | 1214 | /// update icon title from client |
@@ -2346,7 +2343,9 @@ void FluxboxWindow::handleEvent(XEvent &event) { | |||
2346 | //break; | 2343 | //break; |
2347 | case PropertyNotify: { | 2344 | case PropertyNotify: { |
2348 | #ifdef DEBUG | 2345 | #ifdef DEBUG |
2349 | cerr<<"PropertyNotify("<<title()<<")"<<endl; | 2346 | char *atomname = XGetAtomName(display, event.xproperty.atom); |
2347 | cerr<<"PropertyNotify("<<title()<<"), property = "<<atomname<<endl; | ||
2348 | XFree(atomname); | ||
2350 | #endif // DEBUG | 2349 | #endif // DEBUG |
2351 | WinClient *client = findClient(event.xproperty.window); | 2350 | WinClient *client = findClient(event.xproperty.window); |
2352 | if (client) { | 2351 | if (client) { |