diff options
| author | Martin Rudalics | 2017-04-11 08:29:41 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2017-04-11 08:29:41 +0200 |
| commit | 291b76f91ea991c9fa8e57b55df1b68704931445 (patch) | |
| tree | 9271e7c45fcdb9afaef1ce488763b3505071895b /src | |
| parent | 230e25fd67fd654f04b8c744db0e170353a7f3b3 (diff) | |
| download | emacs-291b76f91ea991c9fa8e57b55df1b68704931445.tar.gz emacs-291b76f91ea991c9fa8e57b55df1b68704931445.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files 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. */); | |||
| 12923 | 12923 | ||
| 12924 | DEFVAR_BOOL ("x-gtk-use-window-move", x_gtk_use_window_move, | 12924 | DEFVAR_BOOL ("x-gtk-use-window-move", x_gtk_use_window_move, |
| 12925 | doc: /* Non-nil means rely on gtk_window_move to set frame positions. | 12925 | doc: /* Non-nil means rely on gtk_window_move to set frame positions. |
| 12926 | If this variable is t, the GTK build uses the function gtk_window_move | 12926 | If this variable is t (the default), the GTK build uses the function |
| 12927 | to set or store frame positions and disables some time consuming frame | 12927 | gtk_window_move to set or store frame positions and disables some time |
| 12928 | position adjustments. */); | 12928 | consuming frame position adjustments. */); |
| 12929 | x_gtk_use_window_move = false; | 12929 | x_gtk_use_window_move = true; |
| 12930 | } | 12930 | } |