mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
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:
parent
266690091f
commit
7906b98a3c
5 changed files with 14 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue