[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c44068ac6c: * src/xterm.c (x_set_offset): Respect x-no-window-man
From: |
Po Lu |
Subject: |
master c44068ac6c: * src/xterm.c (x_set_offset): Respect x-no-window-manager. |
Date: |
Wed, 27 Jul 2022 22:59:38 -0400 (EDT) |
branch: master
commit c44068ac6c6f31a3b64ad19841d7f0385f624dae
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
* src/xterm.c (x_set_offset): Respect x-no-window-manager.
---
src/xterm.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 7b4a65e87f..e7222d35b3 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -24322,7 +24322,11 @@ x_set_offset (struct frame *f, int xoff, int yoff, int
change_gravity)
#endif
/* 'x_sync_with_move' is too costly for dragging child frames. */
- if (!FRAME_PARENT_FRAME (f))
+ if (!FRAME_PARENT_FRAME (f)
+ /* If no window manager exists, just calling XSync will be
+ sufficient to ensure that the window geometry has been
+ updated. */
+ && NILP (Vx_no_window_manager))
{
x_sync_with_move (f, f->left_pos, f->top_pos,
FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c44068ac6c: * src/xterm.c (x_set_offset): Respect x-no-window-manager.,
Po Lu <=