aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index d8c02ef..bb3bf8f 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.156 2003/05/11 17:11:59 fluxgen Exp $ 25// $Id: Screen.cc,v 1.157 2003/05/11 23:44:08 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -1270,7 +1270,10 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1270 } else { 1270 } else {
1271 // always put on end of focused list, if it gets focused it'll get pushed up 1271 // always put on end of focused list, if it gets focused it'll get pushed up
1272 // there is only the one win client at this stage 1272 // there is only the one win client at this stage
1273 focused_list.push_back(&win->winClient()); 1273 if (doFocusNew())
1274 focused_list.push_front(&win->winClient());
1275 else
1276 focused_list.push_back(&win->winClient());
1274 1277
1275 //TODO: is next line needed? 1278 //TODO: is next line needed?
1276 Fluxbox::instance()->saveWindowSearch(client, win); 1279 Fluxbox::instance()->saveWindowSearch(client, win);