Merge pull request #471 from tsipinakis/feature/raise-progress-limit
Raise the maximum value of the progress hint
This commit is contained in:
commit
f7cf5b6f5b
@ -324,7 +324,7 @@ void notification_init(notification *n)
|
|||||||
n->colors[ColFrame] = g_strdup(xctx.colors[ColFrame][n->urgency]);
|
n->colors[ColFrame] = g_strdup(xctx.colors[ColFrame][n->urgency]);
|
||||||
|
|
||||||
/* Sanitize misc hints */
|
/* Sanitize misc hints */
|
||||||
if (n->progress < 0 || n->progress > 100)
|
if (n->progress < 0)
|
||||||
n->progress = -1;
|
n->progress = -1;
|
||||||
|
|
||||||
/* Process rules */
|
/* Process rules */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user