commit 50589e5652af5b2a5817d24a6a0ca6d010196368
parent 9e5c3769f3a0d0847b6abfa08d423543a46f66ae
Author: Raymond Li <hi@raymond.li>
Date: Tue, 21 Jul 2020 22:28:40 -0400
Insert debug statement to investigate 173
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/unlock_indicator.c b/unlock_indicator.c
@@ -897,6 +897,8 @@ void render_lock(uint32_t *resolution, xcb_drawable_t drawable) {
screen_number = 0;
}
+ DEBUG("Drawing indicator on %d screens\n", screen_number);
+
int current_screen = screen_number == 0 ? 0 : screen_number - 1;
const int end_screen = screen_number == 0 ? xr_screens : screen_number;
for (; current_screen < end_screen; current_screen++) {