Window.setAcceptFocus

void setAcceptFocus(bool acceptFocus)

Setting accept_focus to false hints the desktop environment that the window doesn’t want to receive input focus.

On X, it is the responsibility of the window manager to interpret this hint. ICCCM-compliant window manager usually respect it.

Parameters

acceptFocustrue if the window should receive input focus