aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-28 14:00:48 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-28 14:00:48 (GMT)
commit2fcc0fd9e7b92dbb440fd67e34fdbab05be7d98d (patch)
treed93fde959e5db890062c9900734b2796c91183f3 /src/Screen.cc
parentf2c8868724ebcaa6afaac4a71093f77b7eeaa23f (diff)
downloadfluxbox-2fcc0fd9e7b92dbb440fd67e34fdbab05be7d98d.zip
fluxbox-2fcc0fd9e7b92dbb440fd67e34fdbab05be7d98d.tar.bz2
Changed workspace area signal to use the new signal system
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index fe5ee31..66ab0fd 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -339,7 +339,6 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
339 const string &screenname, 339 const string &screenname,
340 const string &altscreenname, 340 const string &altscreenname,
341 int scrn, int num_layers) : 341 int scrn, int num_layers) :
342 m_workspace_area_sig(*this), // workspace area signal
343 m_reconfigure_sig(*this), // reconfigure signal 342 m_reconfigure_sig(*this), // reconfigure signal
344 m_resize_sig(*this), 343 m_resize_sig(*this),
345 m_layermanager(num_layers), 344 m_layermanager(num_layers),
@@ -1453,7 +1452,7 @@ void BScreen::updateAvailableWorkspaceArea() {
1453 } 1452 }
1454 1453
1455 if (updated) 1454 if (updated)
1456 m_workspace_area_sig.notify(); 1455 m_workspace_area_sig.emit(*this);
1457} 1456}
1458 1457
1459void BScreen::addWorkspaceName(const char *name) { 1458void BScreen::addWorkspaceName(const char *name) {
@@ -1933,7 +1932,7 @@ void BScreen::updateSize() {
1933 1932
1934 // send resize notify 1933 // send resize notify
1935 m_resize_sig.notify(); 1934 m_resize_sig.notify();
1936 m_workspace_area_sig.notify(); 1935 m_workspace_area_sig.emit(*this);
1937 1936
1938 // move windows out of inactive heads 1937 // move windows out of inactive heads
1939 clearHeads(); 1938 clearHeads();