This allows the window transparency defined by colour key to be reflected in window shape before the image is put onscreen and avoids overwriting the image behind the now-transparent parts. Usually it is not noticeable as the window behind shaped one will redraw itself. Yet it is not supposed to draw transparent parts and it may be especially noticable under Gamescope where the background behind a window is not redraw and the keyed colour effectively gets visible.