aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-05-06 20:26:20 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:46 (GMT)
commit6a0280aa4d8b468617a7dd5f7a6523d0422364e8 (patch)
treee85f742583d112f8d970c0523537aacdb1926726 /src/Window.cc
parente53d14e9102270a1682a88c29161580ccbf0c20a (diff)
downloadfluxbox-6a0280aa4d8b468617a7dd5f7a6523d0422364e8.zip
fluxbox-6a0280aa4d8b468617a7dd5f7a6523d0422364e8.tar.bz2
Convert FluxboxWindow::layerSig to FbTk::Signal
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index c43ab36..11d46bc 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -260,7 +260,6 @@ FluxboxWindow::FluxboxWindow(WinClient &client):
260 Focusable(client.screen(), this), 260 Focusable(client.screen(), this),
261 oplock(false), 261 oplock(false),
262 m_hintsig(*this), 262 m_hintsig(*this),
263 m_layersig(*this),
264 m_creation_time(0), 263 m_creation_time(0),
265 moving(false), resizing(false), 264 moving(false), resizing(false),
266 m_initialized(false), 265 m_initialized(false),
@@ -626,7 +625,7 @@ void FluxboxWindow::attachClient(WinClient &client, int x, int y) {
626 // affected clients if possible 625 // affected clients if possible
627 m_statesig.emit(*this); 626 m_statesig.emit(*this);
628 m_workspacesig.emit(*this); 627 m_workspacesig.emit(*this);
629 m_layersig.notify(); 628 m_layersig.emit(*this);
630 629
631 if (was_focused) { 630 if (was_focused) {
632 // don't ask me why, but client doesn't seem to keep focus in new window 631 // don't ask me why, but client doesn't seem to keep focus in new window
@@ -1545,7 +1544,7 @@ void FluxboxWindow::setLayerNum(int layernum) {
1545 1544
1546 if (m_initialized) { 1545 if (m_initialized) {
1547 fbdbg<<this<<" notify layer signal"<<endl; 1546 fbdbg<<this<<" notify layer signal"<<endl;
1548 m_layersig.notify(); 1547 m_layersig.emit(*this);
1549 } 1548 }
1550} 1549}
1551 1550