If the window manager does not support _NET_ACTIVE_WINDOW, fall back to XGetInputFocus