diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2014-11-30 13:23:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-30 13:23:10 -0600 |
commit | b02d2a74a5e723cc867e099e747aa050cc7598cb (patch) | |
tree | 5ea3f950399bfe956a09f96c9a6e786c4b61e7b2 /twin/compton-tde | |
parent | 7cf0c0b4b853fea6c30f26e2627723216c97ccee (diff) | |
download | tdebase-b02d2a74a5e723cc867e099e747aa050cc7598cb.tar.gz tdebase-b02d2a74a5e723cc867e099e747aa050cc7598cb.zip |
Fix window fade in
Diffstat (limited to 'twin/compton-tde')
-rw-r--r-- | twin/compton-tde/compton.c | 6 |
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); |