]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 24 Feb 2008 01:05:27 +0000 (01:05 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 24 Feb 2008 01:05:27 +0000 (01:05 +0000)
src/xterm.c

index 5dd1585eda1ae94f29f01e99e8cef73298edb7a8..6c16bd89ce671a250865bfc3700acc6400311124 100644 (file)
@@ -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;