This commit is contained in:
Enno Boland (tox) 2009-09-07 10:30:50 +02:00
parent b1d555b9fe
commit ea2d948930

4
surf.c
View file

@ -183,11 +183,11 @@ drawindicator(Client *c) {
w = c->indicator; w = c->indicator;
width = c->progress * w->allocation.width / 100; width = c->progress * w->allocation.width / 100;
gdk_draw_rectangle(w->window, gdk_draw_rectangle(w->window,
w->style->fg_gc[GTK_WIDGET_STATE(w)], w->style->bg_gc[GTK_WIDGET_STATE(w)],
TRUE, TRUE,
0, 0, w->allocation.width, w->allocation.height); 0, 0, w->allocation.width, w->allocation.height);
gdk_draw_rectangle(w->window, gdk_draw_rectangle(w->window,
w->style->bg_gc[GTK_WIDGET_STATE(w)], w->style->fg_gc[GTK_WIDGET_STATE(w)],
TRUE, TRUE,
0, 0, width, w->allocation.height); 0, 0, width, w->allocation.height);
} }