On Tue, Sep 1, 2009 at 12:07 AM, Niklas Koponen<niklas.kopo...@iki.fi> wrote:
--snip-- > I use import to take the snapshot, and I was going to use xev to check > for event activity by attaching xev to the window that has focus. The > problem at the moment is that I don't know how to find out which is > the window that has focus and gets the input. --snip-- > So how do I know (from the shell) which window has focus in dwm? `xdotool getwindowfocus` will do it.