diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 5 |
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 | ||
1459 | void BScreen::addWorkspaceName(const char *name) { | 1458 | void 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(); |