always initialize window title

before if exec/win-title didn't exist then window title wouldn't be set.
this patch makes it so window title is always set to something.
This commit is contained in:
NRK
2022-02-27 16:53:45 +06:00
committed by N-R-K
parent bdd9521bf3
commit ad571e7448
3 changed files with 27 additions and 21 deletions

View File

@ -442,7 +442,7 @@ void win_toggle_bar(win_t*);
void win_clear(win_t*);
void win_draw(win_t*);
void win_draw_rect(win_t*, int, int, int, int, bool, int, unsigned long);
void win_set_title(win_t*);
void win_set_title(win_t*, bool);
void win_set_cursor(win_t*, cursor_t);
void win_cursor_pos(win_t*, int*, int*);