summaryrefslogtreecommitdiffstats
path: root/twin/compton-tde/compton.c
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2022-01-13 16:55:33 +0900
committerOBATA Akio <[email protected]>2022-01-13 16:55:33 +0900
commite23eb421326df55c54c14d394970ed4d69207297 (patch)
treec717f022e9cb24b313ede4fbbaf66620db113b24 /twin/compton-tde/compton.c
parent6aedc42cd60618795ea6f254ffc32c9895b0357c (diff)
downloadtdebase-e23eb421326df55c54c14d394970ed4d69207297.tar.gz
tdebase-e23eb421326df55c54c14d394970ed4d69207297.zip
twin: fix unwated pointer reference for window ID
Just the ID is required. Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'twin/compton-tde/compton.c')
-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 0c1b056ee..603402fc6 100644
--- a/twin/compton-tde/compton.c
+++ b/twin/compton-tde/compton.c
@@ -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);