X11: Add interval before raising a window

Window may not be visible to X11 yet.