Re: NextWindow and Mod4 key
Sven Hartenstein <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, thank you for your reply. * Sven Michel <[email protected]>: > > Dear fluxbox users, > > > > if I have > > > > Mod1 Tab :NextWindow > > > > in my keys file, it works as I want it to: the last window, i.e. > > the one that had the focus right before the current one gets it > > back. However, Mod1 is the Alt key and I want to use it within > > emacs, thus I change the above line to > not true, the :nextWindow command works as you describe it below. no > idea what you did or why this happens. I use fluxbox (0.9.x) for some years now and have always been able to change to the last-focused window with the following line. > > Mod4 Tab :NextWindow > > > > Now NextWindow does work but not as intended: it cycles through > > the windows, not starting with the last focused. That means, I can > > not quickly change focus between two windows when more than the > > two are open. > this is exactly how the command is supposed to work If this is how it is supposed to work, is there a way to change the behaviour to the above (my preferred) one? > > session.screen0.focusLastWindow: true > no, this has something to do with a workspace change Ok, sorry for the confusion then. > i suggest you post your whole keysfile. and you should make sure you > use the right file (grep -i keys ~/.fluxbox/init) I attach my keys file and I doublechecked it is the correct one. I'll describe the problem again, in order to rule out misunderstandings. I have these to lines in my keys file: Mod1 F1 :NextWindow Mod4 Tab :NextWindow If I use Fluxbox 1.0rc2-gentoo-r2, the two keystrokes do different things! Asume I have 4 Windows open (on one workspace). Window A has the focus, window B has had it before. If I press "Mod1 F1" and release, window B gets the focus. I press "Mod1 F1" again and window A gets the focus back. That is, I can change between windows A and B multiple times without cycling through C or D. However, if I press "Mod4 Tab" after focus is on window B, I will not be brought back to A but to C. If I boot an older system with Fluxbox 0.9.14-gentoo-r1 installed, but the same /home mounted, i.e. the same ~/.fluxbox/keys file, both keystrokes will do the same (the "Mod1 F1" behaviour). My interpretation is, that the problem is not my fluxbox configuration. I 555-chmoded my ~/.fluxbox/ directory to be sure, the two fluxbox versions are not changing any settings. Any idea? Sven ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV