Insert debug statement to investigate 173

This commit is contained in:
Raymond Li 2020-07-21 22:28:40 -04:00
parent 9e5c3769f3
commit 50589e5652
No known key found for this signature in database
GPG Key ID: A014EA89B62BBB1B
1 changed files with 2 additions and 0 deletions

View File

@ -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++) {