aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-22 00:48:11 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-22 00:48:11 (GMT)
commitf6ee704a1d3429c6dedb03d84b4d70103cf8db15 (patch)
tree771ad770585f400291187331ee5464e977629de2 /src/WinClient.cc
parenta10b308b4eb962fcb703b0806e0b5d77c7057ade (diff)
downloadfluxbox-f6ee704a1d3429c6dedb03d84b4d70103cf8db15.zip
fluxbox-f6ee704a1d3429c6dedb03d84b4d70103cf8db15.tar.bz2
remove 'friend' declaration in Window.hh
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index fb9fec6..5a3c924 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -356,24 +356,19 @@ void WinClient::updateTitle() {
356 356
357 m_title = string(Xutil::getWMName(window()), 0, 512); 357 m_title = string(Xutil::getWMName(window()), 0, 512);
358 titleSig().notify(); 358 titleSig().notify();
359 if (fbwindow())
360 fbwindow()->updateTitleFromClient(*this);
361} 359}
362 360
363void WinClient::setTitle(FbTk::FbString &title) { 361void WinClient::setTitle(FbTk::FbString &title) {
364 m_title = title; 362 m_title = title;
365 m_title_override = true; 363 m_title_override = true;
366 titleSig().notify(); 364 titleSig().notify();
367 if (fbwindow())
368 fbwindow()->updateTitleFromClient(*this);
369} 365}
370 366
371void WinClient::saveBlackboxAttribs(FluxboxWindow::BlackboxAttributes &blackbox_attribs) { 367void WinClient::saveBlackboxAttribs(FluxboxWindow::BlackboxAttributes &blackbox_attribs, int nelements) {
372 changeProperty(FbAtoms::instance()->getFluxboxAttributesAtom(), 368 changeProperty(FbAtoms::instance()->getFluxboxAttributesAtom(),
373 XA_CARDINAL, 32, PropModeReplace, 369 XA_CARDINAL, 32, PropModeReplace,
374 (unsigned char *)&blackbox_attribs, 370 (unsigned char *)&blackbox_attribs,
375 FluxboxWindow::PropBlackboxAttributesElements 371 nelements);
376 );
377} 372}
378 373
379void WinClient::setFluxboxWindow(FluxboxWindow *win) { 374void WinClient::setFluxboxWindow(FluxboxWindow *win) {