aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Window.cc b/src/Window.cc
index ca63178..f91f741 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -262,7 +262,6 @@ FluxboxWindow::FluxboxWindow(WinClient &client):
262 m_hintsig(*this), 262 m_hintsig(*this),
263 m_statesig(*this), 263 m_statesig(*this),
264 m_layersig(*this), 264 m_layersig(*this),
265 m_workspacesig(*this),
266 m_creation_time(0), 265 m_creation_time(0),
267 moving(false), resizing(false), 266 moving(false), resizing(false),
268 m_initialized(false), 267 m_initialized(false),
@@ -536,7 +535,7 @@ void FluxboxWindow::init() {
536 setMaximizedState(tmp); 535 setMaximizedState(tmp);
537 } 536 }
538 537
539 m_workspacesig.notify(); 538 m_workspacesig.emit(*this);
540 539
541 struct timeval now; 540 struct timeval now;
542 gettimeofday(&now, NULL); 541 gettimeofday(&now, NULL);
@@ -627,7 +626,7 @@ void FluxboxWindow::attachClient(WinClient &client, int x, int y) {
627 // TODO: one day these should probably be neatened to only act on the 626 // TODO: one day these should probably be neatened to only act on the
628 // affected clients if possible 627 // affected clients if possible
629 m_statesig.notify(); 628 m_statesig.notify();
630 m_workspacesig.notify(); 629 m_workspacesig.emit(*this);
631 m_layersig.notify(); 630 m_layersig.notify();
632 631
633 if (was_focused) { 632 if (was_focused) {
@@ -1537,8 +1536,8 @@ void FluxboxWindow::setWorkspace(int n) {
1537 1536
1538 // notify workspace change 1537 // notify workspace change
1539 if (m_initialized && old_wkspc != m_workspace_number) { 1538 if (m_initialized && old_wkspc != m_workspace_number) {
1540 fbdbg<<this<<" notify workspace signal"<<endl; 1539 fbdbg<<this<<" emit workspace signal"<<endl;
1541 m_workspacesig.notify(); 1540 m_workspacesig.emit(*this);
1542 } 1541 }
1543} 1542}
1544 1543
@@ -1587,7 +1586,7 @@ void FluxboxWindow::stick() {
1587 if (m_initialized) { 1586 if (m_initialized) {
1588 stateSig().notify(); 1587 stateSig().notify();
1589 // notify since some things consider "stuck" to be a pseudo-workspace 1588 // notify since some things consider "stuck" to be a pseudo-workspace
1590 m_workspacesig.notify(); 1589 m_workspacesig.emit(*this);
1591 } 1590 }
1592 1591
1593 ClientList::iterator client_it = clientList().begin(); 1592 ClientList::iterator client_it = clientList().begin();