diff options
author | rathnor <rathnor> | 2003-05-11 23:44:09 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-05-11 23:44:09 (GMT) |
commit | 99b6dc4e5df2b9a8344de7cf1da102c9245cb014 (patch) | |
tree | 4c72996ab90ae98461204c8b7c0e2146de59a8e7 /src/Screen.cc | |
parent | 7037b9ca2cdf9e03a7a54ef45d6d6f7a601725fd (diff) | |
download | fluxbox_pavel-99b6dc4e5df2b9a8344de7cf1da102c9245cb014.zip fluxbox_pavel-99b6dc4e5df2b9a8344de7cf1da102c9245cb014.tar.bz2 |
fix up various focus-related issues
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 7 |
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); |