Fix main task colors too

This commit is contained in:
Rodrigo Arias 2022-10-04 11:44:19 +02:00
parent b0e84a6619
commit e9d977210b

View File

@ -184,8 +184,8 @@ get_task_type_gid(const char *label)
/* Use non-negative values */
gid &= 0x7FFFFFFF;
/* Avoid bad colors for "Unlabeled0" */
gid += 123;
/* Avoid bad colors for "Unlabeled0" and "main" */
gid += 666;
if (gid == 0)
gid++;