From 2a8ede00043f4f5b64beffdc604e0f17d57d3eb8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 20 Mar 2004 21:34:29 +0000 Subject: [PATCH] alert windows can be titleless, maybe all titleless windows should be empty, i dunno --- openbox/client.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openbox/client.c b/openbox/client.c index 538cfbed..a90dda6a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1505,6 +1505,12 @@ void client_update_title(ObClient *self) data = vdata; } + // http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html + if (self->transient) + data = '\0'; + else + data = g_strdup("Unnamed Window"); + PROP_SETS(self->window, net_wm_visible_icon_name, data); self->icon_title = data; -- 2.45.2