Add support for wm=7