aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-02-24 01:05:27 +0000
committerChong Yidong2008-02-24 01:05:27 +0000
commitf93a616beeb92b0449212a9abb8a54dcfb87f160 (patch)
treee487ed8a40d287416ba0de6982ab659757875d3d /src
parentd59581635f2d0585348be9c0331cb86d06a74178 (diff)
downloademacs-f93a616beeb92b0449212a9abb8a54dcfb87f160.tar.gz
emacs-f93a616beeb92b0449212a9abb8a54dcfb87f160.zip
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 5dd1585eda1..6c16bd89ce6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8700,7 +8700,7 @@ x_set_offset (f, xoff, yoff, change_gravity)
8700{ 8700{
8701 int modified_top, modified_left; 8701 int modified_top, modified_left;
8702 8702
8703 if (change_gravity != 0) 8703 if (change_gravity > 0)
8704 { 8704 {
8705 FRAME_X_OUTPUT (f)->left_before_move = f->left_pos; 8705 FRAME_X_OUTPUT (f)->left_before_move = f->left_pos;
8706 FRAME_X_OUTPUT (f)->top_before_move = f->top_pos; 8706 FRAME_X_OUTPUT (f)->top_before_move = f->top_pos;