Convert window menus to a compositor implementation