summaryrefslogtreecommitdiffstats
path: root/twin/compton-tde
diff options
context:
space:
mode:
Diffstat (limited to 'twin/compton-tde')
-rw-r--r--twin/compton-tde/compton.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/twin/compton-tde/compton.c b/twin/compton-tde/compton.c
index 4a78f7f8a..e30d3969f 100644
--- a/twin/compton-tde/compton.c
+++ b/twin/compton-tde/compton.c
@@ -2511,7 +2511,7 @@ map_win(session_t *ps, Window id) {
XFlush(ps->dpy);
/* This needs to be here since we don't get PropertyNotify when unmapped */
- w->opacity = wid_get_opacity_prop(ps, w->id, OPAQUE);
+ calc_opacity(ps, w);
w->greyscale_blended_background = determine_window_transparency_filter_greyscale_blended(ps, id);
w->show_root_tile = determine_window_transparent_to_desktop(ps, id);
w->show_black_background = determine_window_transparent_to_black(ps, id);
@@ -2562,10 +2562,6 @@ map_win(session_t *ps, Window id) {
w->in_openclose = true;
set_fade_callback(ps, w, finish_map_win, true);
win_determine_fade(ps, w);
- if (w->fade) {
- // Make sure the new window fades in properly
- w->opacity = 0;
- }
win_determine_blur_background(ps, w);