GTK+3 does so implicitly, and the function gtk_window_set_wmclass() has been
deprecated since version 3.22.
---
 surf.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/surf.c b/surf.c
index fb3ef81..f94a103 100644
--- a/surf.c
+++ b/surf.c
@@ -1188,10 +1188,6 @@ createwindow(Client *c)
        } else {
                w = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 
-               wmstr = g_path_get_basename(argv0);
-               gtk_window_set_wmclass(GTK_WINDOW(w), wmstr, "Surf");
-               g_free(wmstr);
-
                wmstr = g_strdup_printf("%s[%lu]", "Surf",
                        webkit_web_view_get_page_id(c->view));
                gtk_window_set_role(GTK_WINDOW(w), wmstr);
-- 
2.10.2

P.S.:  I am not on the list, so please CC me.

Reply via email to