wm focusmodel

wm focusmodel window ?active|passive?

Sets or queries the focus model for window (which must be a toplevel). You almost certainly don't want to use this; Tk's default is correct for modern window managers