[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] X window to foreground
- Subject: [ale] X window to foreground
- From: dkg at fifthhorseman.net (Daniel Kahn Gillmor)
- Date: Sat Dec 29 11:57:06 2007
- In-reply-to: <[email protected]> (Brian Pitts's message of "Sat\, 29 Dec 2007 05\:01\:25 -0500")
- References: <1198808614.10142.4.camel@localhost> <[email protected]>
On Sat 2007-12-29 05:01:25 -0500, Brian Pitts wrote:
> I'm afraid this doesn't get you much closer to an answer. I don't
> know how to programmatically change which window is active.
Interesting. i've never played with xprop before, thanks for the
pointers!
A bit of digging on the 'net turns up xdotool:
http://www.semicomplete.com/projects/xdotool/
This seems to claim to be able to focus a window with ID $FOO with:
xdotool windowfocus $FOO
haven't tried it myself, though. I hope folks will report back if
they try it. Seem like it's shockingly new tool (from this
year!) for functionality this fundamental, but who knows...
On reflection, focusing a window doesn't (and shouldn't, for those of
us who like "sloppy" focus) raise it to the foreground.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available