changeset 80190:91722a54546f

(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 24 Feb 2008 01:04:51 +0000
parents 7eb8c249adfa
children 89d884b75568
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Feb 24 01:04:34 2008 +0000
+++ b/src/xterm.c	Sun Feb 24 01:04:51 2008 +0000
@@ -8271,7 +8271,7 @@
 {
   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;