summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-11-30 13:25:59 -0600
committerTimothy Pearson <[email protected]>2014-11-30 13:26:34 -0600
commitc15178796e73d4820ac71772809c5e5ec5bfb8f0 (patch)
tree8a67958131913380d124a1b757aa562b92fccb81
parentb02d2a74a5e723cc867e099e747aa050cc7598cb (diff)
downloadtdebase-c15178796e73d4820ac71772809c5e5ec5bfb8f0.tar.gz
tdebase-c15178796e73d4820ac71772809c5e5ec5bfb8f0.zip
Fix passage of wid pointer to Window parameter in win_determine_greyscale_background
Thanks to Richard Grenville for catching that mistake!
-rw-r--r--twin/compton-tde/compton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/twin/compton-tde/compton.c b/twin/compton-tde/compton.c
index e30d3969f..d8f6223f6 100644
--- a/twin/compton-tde/compton.c
+++ b/twin/compton-tde/compton.c
@@ -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);