New config option: taskbar sort by LRU/MRU (no config GUI yet) (issue #532)

This commit is contained in:
o9000
2015-12-05 11:07:23 +01:00
parent 3f84d5d14c
commit ea82926b3f
6 changed files with 26 additions and 0 deletions

View File

@@ -749,6 +749,10 @@ 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, "lru") == 0) {
taskbar_sort_method = TASKBAR_SORT_LRU;
} else if (strcmp(value, "mru") == 0) {
taskbar_sort_method = TASKBAR_SORT_MRU;
} else {
taskbar_sort_method = TASKBAR_NOSORT;
}