aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 4625b80..d19d16f 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -345,8 +345,11 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
345 XSetErrorHandler((XErrorHandler) old); 345 XSetErrorHandler((XErrorHandler) old);
346 346
347 managed = running; 347 managed = running;
348 if (! managed) 348 if (! managed) {
349 delete m_placement_strategy; m_placement_strategy = 0;
350 delete m_focus_control; m_focus_control = 0;
349 return; 351 return;
352 }
350 353
351 // TODO fluxgen: check if this is the right place 354 // TODO fluxgen: check if this is the right place
352 m_head_areas = new HeadArea[numHeads() ? numHeads() : 1]; 355 m_head_areas = new HeadArea[numHeads() ? numHeads() : 1];