Client: Fix warning

This commit is contained in:
Martin Duquesnoy 2011-06-14 22:08:01 +02:00
parent 586620e1b1
commit b6f728f1cc
3 changed files with 1 additions and 6 deletions

View File

@ -108,9 +108,6 @@ barwin_create(Window parent,
void
barwin_draw_text(BarWindow *bw, int x, int y, char *text)
{
if(!text)
return;
/* Background color of the text if there is stipple */
if(bw->flags & StippleFlag)
draw_rectangle(bw->dr, x - 4, 0, textw(text) + 8, bw->geo.height, bw->bg);

View File

@ -247,7 +247,7 @@ void
client_focus(Client *c)
{
bool prevwasmax = False;
int prevscreen;
int prevscreen = 0;
Client *cc;
if(sel && sel != c)

View File

@ -285,8 +285,6 @@ frame_update(Client *c)
XSetWindowBorder(dpy, c->button[i], c->colors.frame);
}
}
barwin_refresh(c->titlebar);
}
XSetWindowBackground(dpy, c->frame, c->colors.frame);