From 291b76f91ea991c9fa8e57b55df1b68704931445 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Tue, 11 Apr 2017 08:29:41 +0200 Subject: [PATCH] Set x_gtk_use_window_move by default for fixing bug#25851 and bug#25943 This activates a change that was installed a few weeks ago but whose ChangeLog was inadvertently dropped during its commit. The proper ChangeLog is included below as part of the present commit. * src/gtkutil.c (xg_set_geometry): When x_gtk_use_window_move is set avoid calling x_gtk_parse_geometry (Bug#25851). (x_wm_set_size_hint): When x_gtk_use_window_move is set, set PPosition, USPosition and USSize flags if requested. * src/xterm.c (x_set_offset): With GTK when x_gtk_use_window_move is set, leave it entirely to gtk_window_move to position the window and skip any post-adjustments (Bug#25851 and Bug#25943). (x_gtk_use_window_move): New variable. --- src/xterm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 4f9eff6c5e6..08ccac07005 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -12923,8 +12923,8 @@ transition between the various maximization states. */); DEFVAR_BOOL ("x-gtk-use-window-move", x_gtk_use_window_move, doc: /* Non-nil means rely on gtk_window_move to set frame positions. -If this variable is t, the GTK build uses the function gtk_window_move -to set or store frame positions and disables some time consuming frame -position adjustments. */); - x_gtk_use_window_move = false; +If this variable is t (the default), the GTK build uses the function +gtk_window_move to set or store frame positions and disables some time +consuming frame position adjustments. */); + x_gtk_use_window_move = true; } -- 2.39.2