Window.setAcceptFocus

void setAcceptFocus(bool setting)

Windows may set a hint asking the desktop environment not to receive the input focus. This function sets this hint.

Parameters

settingtrue to let this window receive input focus