mirror of https://github.com/yshui/picom.git
win: add debug logging to win_update_screen
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
8be379db4d
commit
80b35806f1
|
@ -2327,6 +2327,9 @@ void win_update_screen(int nscreens, region_t *screens, struct managed_win *w) {
|
|||
if (e->x1 <= w->g.x && e->y1 <= w->g.y && e->x2 >= w->g.x + w->widthb &&
|
||||
e->y2 >= w->g.y + w->heightb) {
|
||||
w->xinerama_scr = i;
|
||||
log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d",
|
||||
w->base.id, w->name, w->g.x, w->g.y, w->g.width,
|
||||
w->g.height, i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue