From d8e4fe9d3f2ad7729eb329f557f132c26eb5b665 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 3 Jun 2008 14:24:25 +0200 Subject: [PATCH] [PATCH] [mouse] show correct geometry on resize (FS#203) Signed-off-by: Julien Danjou --- mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mouse.c b/mouse.c index 11f2f0a1c..0c103a1cd 100644 --- a/mouse.c +++ b/mouse.c @@ -117,7 +117,7 @@ mouse_resizebar_draw(DrawCtx *ctx, style_t style, SimpleWindow *sw, area_t geome char size[64]; snprintf(size, sizeof(size), "%dx%d+%d+%d", - geometry.x, geometry.y, geometry.width, geometry.height); + geometry.width, geometry.height, geometry.x, geometry.y); draw_text(ctx, draw_geometry, AlignCenter, style.font->height / 2, size, style); simplewindow_move(sw, geometry.x + ((2 * border + geometry.width) - sw->geometry.width) / 2,