From f20e3e473d10501ca9bc9f232ac7a0fd24ca72de Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 7 May 2026 04:00:54 +0300 Subject: [PATCH] [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). --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index f93ea391f70..c021d06dd5d 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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