mirror of https://github.com/yshui/picom.git
DEBUG
This commit is contained in:
parent
a2f816acb1
commit
ffb0d2dfa4
|
@ -471,6 +471,7 @@ static struct managed_win *paint_preprocess(session_t *ps, bool *fade_running) {
|
||||||
|
|
||||||
// Update window mode
|
// Update window mode
|
||||||
w->mode = win_calc_mode(w);
|
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
|
// Destroy all reg_ignore above when frame opaque state changes on
|
||||||
// SOLID mode
|
// 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
|
// Whether this is beneficial is to be determined XXX
|
||||||
for (auto w = t; w; w = w->prev_trans) {
|
for (auto w = t; w; w = w->prev_trans) {
|
||||||
region_t bshape = win_get_bounding_shape_global_by_val(w);
|
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
|
// Painting shadow
|
||||||
if (w->shadow) {
|
if (w->shadow) {
|
||||||
// Lazy shadow building
|
// Lazy shadow building
|
||||||
|
|
Loading…
Reference in New Issue