Fix obvious typo in xwindow_translate_for_gravity()

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-10-10 17:38:51 +02:00
parent 5760e536f9
commit 39df6d98e7

View file

@ -417,7 +417,7 @@ void xwindow_translate_for_gravity(xcb_gravity_t gravity, int16_t change_width_b
break;
case XCB_GRAVITY_STATIC:
x = -change_width_before;
x = -change_height_before;
y = -change_height_before;
break;
}