mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
DEBUG
This commit is contained in:
parent
a2f816acb1
commit
ffb0d2dfa4
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue