[PATCH] [mouse] show correct geometry on resize (FS#203)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Michael Gehring 2008-06-03 14:16:44 +02:00 committed by Julien Danjou
parent 1dbea735b3
commit 26632ae48c
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ mouse_resizebar_draw(draw_context_t *ctx,
char size[64]; char size[64];
snprintf(size, sizeof(size), "<text align=\"center\"/>%dx%d+%d+%d", snprintf(size, sizeof(size), "<text align=\"center\"/>%dx%d+%d+%d",
geometry.x, geometry.y, geometry.width, geometry.height); geometry.width, geometry.height, geometry.x, geometry.y);
draw_rectangle(ctx, draw_geometry, 1.0, true, globalconf.colors.bg); draw_rectangle(ctx, draw_geometry, 1.0, true, globalconf.colors.bg);
draw_text(ctx, globalconf.font, draw_geometry, size); draw_text(ctx, globalconf.font, draw_geometry, size);
simplewindow_move(sw, simplewindow_move(sw,