Re: [bit OT] Get focus window id?
Lukasz Grabowski <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAAh7rdy8UPuCGmj+nEW9EKKB-0LdfVQZOhtGnOXfKZ6ypVWedA@mail.gmail.com> |
I use xdotool getactivewindow (I think I had to upgrade xdotool to have it) L 2015-10-26 18:24 GMT+00:00 Ian Zimmerman <[email protected]>: > 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. > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox