diff options
author | Chong Yidong <[email protected]> | 2008-02-24 01:05:27 +0000 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2008-02-24 01:05:27 +0000 |
commit | f93a616beeb92b0449212a9abb8a54dcfb87f160 (patch) | |
tree | e487ed8a40d287416ba0de6982ab659757875d3d /src/xterm.c | |
parent | d59581635f2d0585348be9c0331cb86d06a74178 (diff) |
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 5dd1585eda..6c16bd89ce 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; |