From 80b35806f1b3a4cbf281fbaf01359488ecb4846d Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 5 Dec 2020 11:03:55 +0000 Subject: [PATCH] win: add debug logging to win_update_screen Signed-off-by: Yuxuan Shui --- src/win.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win.c b/src/win.c index e7d66724..f12aa336 100644 --- a/src/win.c +++ b/src/win.c @@ -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; } }