change-desk-hook (2 args)

This hook is invoked whenever the current desktop is changed.\n\ It is called with two argument, both integers. The first is the\n\ new desktop number, the second is the old desktop number. It is\n\ called before the desk is changed. See also after-change-desk-hook.