summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2014-11-30 13:23:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-30 13:23:10 -0600
commitb02d2a74a5e723cc867e099e747aa050cc7598cb (patch)
tree5ea3f950399bfe956a09f96c9a6e786c4b61e7b2 /twin
parent7cf0c0b4b853fea6c30f26e2627723216c97ccee (diff)
downloadtdebase-b02d2a74a5e723cc867e099e747aa050cc7598cb.tar.gz
tdebase-b02d2a74a5e723cc867e099e747aa050cc7598cb.zip
Fix window fade in
Diffstat (limited to 'twin')
-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 4a78f7f8..e30d3969 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);