LWN.net Logo

LCA: Two talks on the state of X

LCA: Two talks on the state of X

Posted Feb 8, 2008 23:01 UTC (Fri) by tjc (subscriber, #137)
In reply to: LCA: Two talks on the state of X by superstoned
Parent article: LCA: Two talks on the state of X

In this particular case it is a Firefox issue, but I guess the point I'm raising is that if
the window manager can't intercept an attempt to raise a window (or grab the focus), then
there will probably always be badly behaved apps that do this.  Relying on apps to do the
right thing seems futile.


(Log in to post comments)

LCA: Two talks on the state of X

Posted Feb 9, 2008 16:40 UTC (Sat) by rsidd (subscriber, #2582) [Link]

If it is a firefox issue, here's what you do (and what I do): Edit -> Preferences -> Content
-> Enable Javascript "advanced" button -> uncheck "Allow scripts to raise or lower windows".

LCA: Two talks on the state of X

Posted Feb 9, 2008 16:43 UTC (Sat) by rsidd (subscriber, #2582) [Link]

Got to add though: it would be very nice to see the window manager implement "raise windows only to top of stack of windows for that application". So the Firefox window will be the topmost firefox window and you will see it on top if you're already focussed on firefox, but not if you're focussed on an xterm or something else.

LCA: Two talks on the state of X

Posted Feb 9, 2008 20:30 UTC (Sat) by tjc (subscriber, #137) [Link]

> it would be very nice to see the window manager implement "raise windows only to top of
stack of windows for that application".

I think sawfish does something like this?

The Firefox problem seems to have been fixed, if only recently.  I booted to a new install of
Ubuntu 7.10, and Firefox 2.0.0.12 doesn't raise itself on page loads anymore.  It still maps
new windows over the top of the currently focused window, but it's a start anyway.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds