version 1.185, 2019/03/14 23:14:27 |
version 1.186, 2019/03/15 14:46:58 |
|
|
return (NULL); |
return (NULL); |
} |
} |
|
|
/* Draw status for client on the last lines of given context. */ |
/* Free status line. */ |
|
void |
|
status_free(struct client *c) |
|
{ |
|
struct status_line *sl = &c->status; |
|
|
|
if (event_initialized(&sl->timer)) |
|
evtimer_del(&sl->timer); |
|
|
|
screen_free(&sl->status); |
|
if (sl->old_status != NULL) { |
|
screen_free(sl->old_status); |
|
free(sl->old_status); |
|
} |
|
} |
|
|
|
/* Draw status line for client. */ |
int |
int |
status_redraw(struct client *c) |
status_redraw(struct client *c) |
{ |
{ |