On Sun, 25 Mar 2012, Swiatoslaw Gal wrote:

---------- From Ivan Kanakarakis 25-03-2012 at 15:20 ----------
$ xdotool getactivewindow
XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1)
xdo_get_active_window reported an error

You could use the focused window instead (which was what you originally asked about):

$ xdotool getwindowfocus
48234505

dwm doesn't (or didn't? - depending on today's patches) set _NET_ACTIVE_WINDOW, but there's still a focused window.

--
Best,
Ben

Reply via email to