You'd be surprised. Fluxbox has a setting, and I'm sure many other WMs do too, to disable focusing new windows. It drives me batty. 99% of the time a window opens on my screen, I want it to steal the focus. Either I opened it from a terminal (which can't possibly know whether a command it runs will open a window) or from a keybinding (ditto), and I opened it because I wanted to use it. Then I have to alt-tab to get to the window I wanted in the first place. Of course, there are times when the WM can tell that you wouldn't want a new window to gain focus, such as while you're typing. Many WMs handle this case, so I don't imagine this is your problem. I would suggest addressing the programs that are opening so many unwanted windows on your screen.
Mark On Tue, Dec 8, 2009 at 7:35 AM, Michael T <rasel...@hotmail.com> wrote: > Lubos Lunak <l.lunak <at> suse.cz> wrote: >> On Tuesday 08 of December 2009, Michael T wrote: >> > [Snip] So, that >> > window could create a property advertising the fact that it is ready to >> > have its focus stolen, optionally including information about the window >> > that will steal the focus to prevent the wrong one from doing it. >> >> This already exists. Depending on the exact situation, the "old" window can >> tell the "new" window to specify it as the parent or use its user activity >> timestamp. If you have a specific problem, you probably need to report a bug >> for the application or the window manager. > Thanks for the reply! I'm rather surprised then that Metacity is still > allowing > focus stealing in other situations, but I realise that Metacity is not your > main > area of specialisation anyway :) I will take it up with the maintainers. > > Regards, > > Michael > > _______________________________________________ > wm-spec-list mailing list > wm-spec-list@gnome.org > http://mail.gnome.org/mailman/listinfo/wm-spec-list > _______________________________________________ wm-spec-list mailing list wm-spec-list@gnome.org http://mail.gnome.org/mailman/listinfo/wm-spec-list