diff --git a/xwindow.c b/xwindow.c index 55b27f625..f1ec28816 100644 --- a/xwindow.c +++ b/xwindow.c @@ -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; }