wayland/shm: avoid flickering when resizing
wayland/shm: avoid osd flickering when resizing