[GTK3] Move the frame to position before showing

* src/xterm.c (x_make_frame_visible): Move XMoveWindow call before
gtk_widget_show_all, so that the move happens before the frame
become visible (bug#80662).
This commit is contained in:
Dmitry Gutov 2026-05-07 04:00:54 +03:00
parent 6c3dc7aafd
commit f20e3e473d

View file

@ -29192,9 +29192,9 @@ x_make_frame_visible (struct frame *f)
{
block_input ();
#ifdef USE_GTK
gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));
XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),
f->left_pos, f->top_pos);
gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));
#else
XMapRaised (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f));
#endif