> Now that you mention it, I was probably testing against emacs27 -- I just
> applied the change to the master branch.
I now posted a patch for running window change hooks on emacs-devel.
See
http://lists.gnu.org/archive/html/emacs-devel/2018-12/msg00430.html
Please try the patch and report any problems.
Thanks, martin