From 657cca73535fafb569af6dc15d2aec24be1a5685 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Wed, 16 Nov 2016 16:27:05 +0100 Subject: Remove call to gtk_window_set_wmclass() --- CHANGES | 10 ++++++++++ browser.c | 3 --- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 7787a4c..52a7129 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,15 @@ Release history for lariza +next + [Changed] + - We no longer explicitly set the X11 window's class and name. Let + GTK+ do this job. The actual class and name should be unchanged, + though (WM_CLASS(STRING) = "lariza", "Lariza"). + + This does not affect tabbed which is still run with "-n lariza". + + This change fixes a GTK+ deprecation warning. + v16.09 2016-09-03 [Changed] - Web extensions are now looked for in ~/.config/lariza/web_extensions. diff --git a/browser.c b/browser.c index 1e1fdc6..616f485 100644 --- a/browser.c +++ b/browser.c @@ -142,10 +142,7 @@ client_new(const gchar *uri) } if (c->win == NULL) - { c->win = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_wmclass(GTK_WINDOW(c->win), __NAME__, __NAME_CAPITALIZED__); - } gtk_window_set_default_size(GTK_WINDOW(c->win), 800, 600); -- cgit v1.2.3