1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

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

This commit is contained in:
Chong Yidong 2008-02-24 01:05:27 +00:00
parent d59581635f
commit f93a616bee

View 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;