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 821e3e7e2c
commit 4313d93c6c
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,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;
}