[PATCH v4 3/6] wined3d: Move fullscreen window setup/restore to new struct and functions.