commit c73a65fd9d35c2672832116018e021c6f2b5ace6
parent fd4170b96c7ae5410234b984adc2af97f6878cad
Author: Raymond Li <hi@raymond.li>
Date: Mon, 25 Jan 2021 23:14:40 -0500
Set max bar count to 65535
Note: This is simply an arbitrarily large value.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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;