Window.setAcceptFocus

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.

class Window
void
setAcceptFocus

Parameters

acceptFocus bool

TRUE if the window should receive input focus

Meta