Fix passage of wid pointer to Window parameter in win_determine_greyscale_background

Thanks to Richard Grenville for catching that mistake!
pull/2/head
Timothy Pearson 10 years ago
parent b02d2a74a5
commit c15178796e

@ -3245,7 +3245,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) ||
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