changeset 92144:bac4e21de93b

(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:05:27 +0000
parents 63c75c57593b
children 5377fbc51e47
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:05:20 2008 +0000
+++ b/src/xterm.c	Sun Feb 24 01:05:27 2008 +0000
@@ -8700,7 +8700,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;