cfa30f9876
In the case where a mutter window is created for an X Window that is already mapped then we weren't calling mutter_window_mark_for_repair and so we weren't calling XCompositeNameWindowPixmap e.g. for menu windows. This doesn't get noticed because as soon as some damage gets delivered for such windows the pixmap will be named anyway, but if we were to change how damage is handled this would result in broken menus. We now call mutter_window_mark_for_repair in mutter_window_new when the given Window is already mapped.