I\'ve tried using:
win.configure(stack_mode=X.TopIf) win.set_input_focus(X.RevertToParent, X.CurrentTime)
However even without any fo
Try this:
window=Display().screen().root.query_pointer().child window.set_input_focus(X.RevertToParent, X.CurrentTime) window.configure(stack_mode=X.Above)