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:
parent
18df78c115
commit
337d0a9cd1
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user