win: make sure delayed image update is always used
Convert several places where the window image is bound/unbound directly to use image flags. Make sure window image updates only happen in one place. Remove win_bind_image function since its no longer used after this. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -272,8 +272,6 @@ bool must_use destroy_win_start(session_t *ps, struct win *w);
|
||||
/// Release images bound with a window, set the *_NONE flags on the window. Only to be
|
||||
/// used when de-initializing the backend outside of win.c
|
||||
void win_release_images(struct backend_base *base, struct managed_win *w);
|
||||
void win_bind_image(struct backend_base *backend, struct managed_win *w, struct color c,
|
||||
struct conv *kernel);
|
||||
int win_get_name(session_t *ps, struct managed_win *w);
|
||||
int win_get_role(session_t *ps, struct managed_win *w);
|
||||
winmode_t attr_pure win_calc_mode(const struct managed_win *w);
|
||||
|
Reference in New Issue
Block a user