desk-size-change-hook (2 args)

This hook is invoked whenever the desk size is changed. It is called with two arguments, both integers, which are the width and height of the new desk size in screens.