This commit is contained in:
Enno Boland (tox) 2009-09-07 10:30:50 +02:00
parent b1d555b9fe
commit ea2d948930
1 changed files with 2 additions and 2 deletions

4
surf.c
View File

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