From 4313d93c6c5b09565ed331c3e9a7653069d5337d Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 10 Oct 2015 17:38:51 +0200 Subject: [PATCH] Fix obvious typo in xwindow_translate_for_gravity() Signed-off-by: Uli Schlachter --- xwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwindow.c b/xwindow.c index 6556ce726..671dc4615 100644 --- a/xwindow.c +++ b/xwindow.c @@ -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; }