1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

I am not sure this is a correct fix. But GNOME has appicon which may has

different class name from the window. Such as GnomeTerminal.GnomeTerminal
may have appicon name gnome-terminal.Gnome-terminal.
This commit is contained in:
id
1999-09-25 15:02:59 +00:00
parent c7bc663b55
commit 0092ff64f0
2 changed files with 5 additions and 2 deletions

View File

@@ -589,9 +589,9 @@ saveSettings(WMButton *button, InspectorPanel *panel)
assert(wapp->main_window_desc->wm_class!=NULL);
buffer = wmalloc(strlen(wapp->main_window_desc->wm_instance)
+strlen(wwin->wm_class)+4);
+strlen(wapp->main_window_desc->wm_class)+4);
strcat(strcpy(buffer, wapp->main_window_desc->wm_instance), ".");
strcat(buffer, wwin->wm_class);
strcat(buffer, wapp->main_window_desc->wm_class);
key = PLMakeString(buffer);
free(buffer);