1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00

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

View file

@ -897,6 +897,8 @@ void render_lock(uint32_t *resolution, xcb_drawable_t drawable) {
screen_number = 0; screen_number = 0;
} }
DEBUG("Drawing indicator on %d screens\n", screen_number);
int current_screen = screen_number == 0 ? 0 : screen_number - 1; int current_screen = screen_number == 0 ? 0 : screen_number - 1;
const int end_screen = screen_number == 0 ? xr_screens : screen_number; const int end_screen = screen_number == 0 ? xr_screens : screen_number;
for (; current_screen < end_screen; current_screen++) { for (; current_screen < end_screen; current_screen++) {