XGetInputFocus not working

Peter Hutterer peter.hutterer at who-t.net
Mon Apr 20 21:46:50 PDT 2009

On Tue, Apr 21, 2009 at 06:16:13AM +0200, VARADHARAJAN RAVINDRANATH wrote:
>    I am developing an X11 windows manager with minimal functionality.
> Here, I need to find the focus window. I used XGetInputFocus API, this
> always returns 64 as window ID and never the actual Window ID of the
> focused window. Can anyone help ??

Have you set the focus window? 64 sounds like a root window ID, so maybe the
focus is on the root window?


More information about the xorg mailing list