iconify-hook (2 args)

This hook is invoked when a window is iconified.\n\ It is called with two arguments: WINDOW, WAS-ICONIFIED?.\n\ WINDOW is the window iconfied, and WAS-ICONIFIED? is\n\ a boolean telling whether the window was iconified previously.