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