window-focus-lost-hook (1 arg)

This hook is invoked whenever the focus is lost on a window.\n\ It is called with one argument, the window object of the window\n\ that just lost the keyboard focus. See also window-focus-change-hook.