Client: Fix warning
This commit is contained in:
parent
586620e1b1
commit
b6f728f1cc
@ -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);
|
||||
|
||||
@ -247,7 +247,7 @@ void
|
||||
client_focus(Client *c)
|
||||
{
|
||||
bool prevwasmax = False;
|
||||
int prevscreen;
|
||||
int prevscreen = 0;
|
||||
Client *cc;
|
||||
|
||||
if(sel && sel != c)
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user