Add option to sort taskbar by application name (contributed by Fabian Carlstrom)

This commit is contained in:
Chris Lee
2018-05-28 21:23:05 +00:00
parent 21e9303502
commit 5875015c11
16 changed files with 2392 additions and 2299 deletions

View File

@@ -1016,6 +1016,8 @@ void add_entry(char *key, char *value)
taskbar_sort_method = TASKBAR_SORT_CENTER;
} else if (strcmp(value, "title") == 0) {
taskbar_sort_method = TASKBAR_SORT_TITLE;
} else if (strcmp(value, "application") == 0) {
taskbar_sort_method = TASKBAR_SORT_APPLICATION;
} else if (strcmp(value, "lru") == 0) {
taskbar_sort_method = TASKBAR_SORT_LRU;
} else if (strcmp(value, "mru") == 0) {