diff options
author | markt <markt> | 2006-06-28 19:17:38 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-28 19:17:38 (GMT) |
commit | 6f2a566206faa0e6e8eff34f96888f6910644f56 (patch) | |
tree | 4e71fe5642b60d3f0934dbc6c6cf2bfd73355fc1 /src/Screen.cc | |
parent | c5c316e09b27cda8b4b9a2d9a78d458402585a1b (diff) | |
download | fluxbox-6f2a566206faa0e6e8eff34f96888f6910644f56.zip fluxbox-6f2a566206faa0e6e8eff34f96888f6910644f56.tar.bz2 |
more focus issues with linear cycling and tabbed windows
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 222f1fc..71e4c54 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1361,7 +1361,6 @@ FluxboxWindow *BScreen::createWindow(Window client) { | |||
1361 | if ((win = findGroupLeft(*winclient)) != 0) { | 1361 | if ((win = findGroupLeft(*winclient)) != 0) { |
1362 | win->attachClient(*winclient); | 1362 | win->attachClient(*winclient); |
1363 | Fluxbox::instance()->attachSignals(*winclient); | 1363 | Fluxbox::instance()->attachSignals(*winclient); |
1364 | focusControl().addFocusBack(*winclient); | ||
1365 | } else { | 1364 | } else { |
1366 | 1365 | ||
1367 | Fluxbox::instance()->attachSignals(*winclient); | 1366 | Fluxbox::instance()->attachSignals(*winclient); |
@@ -1382,9 +1381,9 @@ FluxboxWindow *BScreen::createWindow(Window client) { | |||
1382 | // always put on end of focused list, if it gets focused it'll get pushed up | 1381 | // always put on end of focused list, if it gets focused it'll get pushed up |
1383 | // there is only the one win client at this stage | 1382 | // there is only the one win client at this stage |
1384 | if (focusControl().focusNew()) | 1383 | if (focusControl().focusNew()) |
1385 | focusControl().addFocusFront(win->winClient()); | 1384 | focusControl().addFocusFront(*winclient); |
1386 | else | 1385 | else |
1387 | focusControl().addFocusBack(win->winClient()); | 1386 | focusControl().addFocusBack(*winclient); |
1388 | 1387 | ||
1389 | // we also need to check if another window expects this window to the left | 1388 | // we also need to check if another window expects this window to the left |
1390 | // and if so, then join it. | 1389 | // and if so, then join it. |