Add new configuration parameter panel_window_name to set WM_NAME (and WM_ICON_NAME) to identify multiple instances of tint2. (Issue 460).

git-svn-id: http://tint2.googlecode.com/svn/trunk@690 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
google@craigoakes.com
2015-02-08 12:13:32 +00:00
parent a11becfb2e
commit 51fe905b47
5 changed files with 13 additions and 2 deletions

View File

@@ -287,6 +287,10 @@ void add_entry (char *key, char *value)
else if (strcmp (key, "disable_transparency") == 0) {
server.disable_transparency = atoi (value);
}
else if (strcmp (key, "panel_window_name") == 0) {
if (strlen(value) > 0)
panel_window_name = strdup (value);
}
/* Battery */
else if (strcmp (key, "battery_low_status") == 0) {