[openbox] [bit OT] Get focus window id?

Ian Zimmerman itz at buug.org
Mon Oct 26 14:24:29 EDT 2015


Is there a way to determine which window has the focus, from a script?
I checked the old workhorse, wmctrl, but it doesn't seem capable of
this.  There is the "-r :ACTIVE: " option, but it only works with the
action subcommands, not with the listing.

Thanks for any hints!

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.


More information about the openbox mailing list