From c73a65fd9d35c2672832116018e021c6f2b5ace6 Mon Sep 17 00:00:00 2001 From: Raymond Li Date: Mon, 25 Jan 2021 23:14:40 -0500 Subject: [PATCH] Set max bar count to 65535 Note: This is simply an arbitrarily large value. --- i3lock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/i3lock.c b/i3lock.c index 31fa664..4c129e9 100644 --- a/i3lock.c +++ b/i3lock.c @@ -262,13 +262,14 @@ pthread_t draw_thread; // allow you to disable. handy if you use bar with lots of crap. bool redraw_thread = false; +// experimental bar stuff #define BAR_VERT 0 #define BAR_FLAT 1 #define BAR_DEFAULT 0 #define BAR_REVERSED 1 #define BAR_BIDIRECTIONAL 2 -#define BAR_MAX_COUNT 65536 -// experimental bar stuff +#define BAR_MAX_COUNT 65535 + bool bar_enabled = false; double *bar_heights = NULL; double bar_step = 15;