diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 34cb829..4340ef1 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1357,8 +1357,7 @@ FluxboxWindow *BScreen::createWindow(Window client) { | |||
1357 | if (workspace) | 1357 | if (workspace) |
1358 | workspace->updateClientmenu(); | 1358 | workspace->updateClientmenu(); |
1359 | } else { | 1359 | } else { |
1360 | win = new FluxboxWindow(*winclient, | 1360 | win = new FluxboxWindow(*winclient); |
1361 | *layerManager().getLayer(Layer::NORMAL)); | ||
1362 | 1361 | ||
1363 | if (!win->isManaged()) { | 1362 | if (!win->isManaged()) { |
1364 | delete win; | 1363 | delete win; |
@@ -1394,8 +1393,7 @@ FluxboxWindow *BScreen::createWindow(WinClient &client) { | |||
1394 | return 0; | 1393 | return 0; |
1395 | } | 1394 | } |
1396 | 1395 | ||
1397 | FluxboxWindow *win = new FluxboxWindow(client, | 1396 | FluxboxWindow *win = new FluxboxWindow(client); |
1398 | *layerManager().getLayer(Layer::NORMAL)); | ||
1399 | 1397 | ||
1400 | #ifdef SLIT | 1398 | #ifdef SLIT |
1401 | if (win->initialState() == WithdrawnState && slit() != 0) { | 1399 | if (win->initialState() == WithdrawnState && slit() != 0) { |