aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-04-26 01:41:55 (GMT)
committersimonb <simonb>2005-04-26 01:41:55 (GMT)
commit1c2f92a3d2288b1cae9500110a72173506a18072 (patch)
treecdb695da16dcee74872790c772bb535def9f2895 /src/Window.cc
parentb49432be05c6cf748e662e196778463e2190b4c3 (diff)
downloadfluxbox-1c2f92a3d2288b1cae9500110a72173506a18072.zip
fluxbox-1c2f92a3d2288b1cae9500110a72173506a18072.tar.bz2
extension of previous big patch. Move a bunch of menu things onto
background pixmap. Same for textbuttons.
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc9
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) {