1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00
This commit is contained in:
Yuxuan Shui 2019-10-24 20:48:34 +01:00
parent a2f816acb1
commit ffb0d2dfa4
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47
2 changed files with 7 additions and 0 deletions

View file

@ -471,6 +471,7 @@ static struct managed_win *paint_preprocess(session_t *ps, bool *fade_running) {
// Update window mode
w->mode = win_calc_mode(w);
log_trace("Window %#010x (%s) has mode %d", w->base.id, w->name, w->mode);
// Destroy all reg_ignore above when frame opaque state changes on
// SOLID mode

View file

@ -852,6 +852,12 @@ void paint_all(session_t *ps, struct managed_win *t, bool ignore_damage) {
// Whether this is beneficial is to be determined XXX
for (auto w = t; w; w = w->prev_trans) {
region_t bshape = win_get_bounding_shape_global_by_val(w);
log_trace("Window %#010x (%s) has mode %d", w->base.id, w->name, w->mode);
if (w->reg_ignore) {
dump_region(w->reg_ignore);
} else {
log_trace("reg_ignore null");
}
// Painting shadow
if (w->shadow) {
// Lazy shadow building