Set has_been_visible field. (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
Attach a file by drag & drop or click to upload