Option to show full app_id in window switcher

It is now possible to specify whether to show full application
identifier or the trimmed variant in window switcher OSD.
This commit is contained in:
kyak 2023-12-11 12:23:51 +03:00
parent 266690091f
commit 7906b98a3c
5 changed files with 14 additions and 3 deletions

View file

@ -44,6 +44,9 @@ get_formatted_app_id(struct view *view)
if (!s) {
return NULL;
}
if (rc.window_switcher.full_app_id) {
return s;
}
/* remove the first two nodes of 'org.' strings */
if (!strncmp(s, "org.", 4)) {
char *p = s + 4;