diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-27 22:29:33 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-27 22:29:33 (GMT) |
commit | 82047e6a391a12be9583168f28ac72c1154108d6 (patch) | |
tree | 68cc4865da7bdf95052907c6d8ce9cf0fb19c90b /src/Screen.cc | |
parent | a2ec0c9bdd9ebcc713426a79209b9ca90b4db301 (diff) | |
download | fluxbox-82047e6a391a12be9583168f28ac72c1154108d6.zip fluxbox-82047e6a391a12be9583168f28ac72c1154108d6.tar.bz2 |
move some things from FluxboxWindow to WindowState
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) { |