twin: fix unwated pointer reference for window ID

Just the ID is required.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit e23eb42132)
r14.0.x
OBATA Akio 2 years ago committed by Michele Calgaro
parent 174f7ef987
commit a041841534
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -3250,7 +3250,7 @@ win_determine_greyscale_background(session_t *ps, win *w) {
if (IsViewable != w->a.map_state)
return;
bool greyscale_background_new = (determine_window_transparency_filter_greyscale(ps, &w->id) ||
bool greyscale_background_new = (determine_window_transparency_filter_greyscale(ps, w->id) ||
(ps->o.greyscale_background && !win_match(ps, w, ps->o.greyscale_background_blacklist, &w->cache_bbblst)));
win_set_greyscale_background(ps, w, greyscale_background_new);

Loading…
Cancel
Save