Commit 57b8e96a authored by Chong Yidong's avatar Chong Yidong
Browse files

(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.

parent 41cac0d7
......@@ -8271,7 +8271,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment