Merge pull request #471 from tsipinakis/feature/raise-progress-limit

Raise the maximum value of the progress hint
This commit is contained in:
Benedikt Heine 2018-01-07 15:44:29 +01:00 committed by GitHub
commit f7cf5b6f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 */