From: Chong Yidong Date: Sun, 24 Feb 2008 01:05:27 +0000 (+0000) Subject: (x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1. X-Git-Tag: emacs-pretest-23.0.90~7716 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f93a616beeb92b0449212a9abb8a54dcfb87f160;p=emacs.git (x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1. --- 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) { int modified_top, modified_left; - if (change_gravity != 0) + if (change_gravity > 0) { FRAME_X_OUTPUT (f)->left_before_move = f->left_pos; FRAME_X_OUTPUT (f)->top_before_move = f->top_pos;