Raise the maximum value of the progress hint

The progress hint is mostly used for progress bars but as discussed in
 #437 there are cases where values > 100 make sense.

Fixes #437
This commit is contained in:
Nikos Tsipinakis 2018-01-05 21:55:15 +02:00
parent 18df78c115
commit 337d0a9cd1

View File

@ -324,7 +324,7 @@ void notification_init(notification *n)
n->colors[ColFrame] = g_strdup(xctx.colors[ColFrame][n->urgency]);
/* Sanitize misc hints */
if (n->progress < 0 || n->progress > 100)
if (n->progress < 0)
n->progress = -1;
/* Process rules */