From: compudj Date: Thu, 19 Aug 2004 06:46:28 +0000 (+0000) Subject: correct currect time bar X-Git-Tag: v0.12.20~2668 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3d5c5880fdc0f3a460a8a35da2bea6590e2f7f62;p=lttv.git correct currect time bar git-svn-id: http://ltt.polymtl.ca/svn@821 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index 987e3409..ebba555e 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -657,11 +657,11 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) dash_list, 2); } - + gint height_tot = MAX(widget->allocation.height, drawing->height); gdk_draw_line(widget->window, drawing->dotted_gc, - cursor_x, event->area.y, - cursor_x, widget->allocation.height); + cursor_x, 0, + cursor_x, height_tot); } return FALSE; }