From: Mikael Magnusson Date: Sat, 20 Mar 2004 21:34:29 +0000 (+0000) Subject: alert windows can be titleless, maybe all titleless windows should be empty, i dunno X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2a8ede00043f4f5b64beffdc604e0f17d57d3eb8;p=chaz%2Fopenbox alert windows can be titleless, maybe all titleless windows should be empty, i dunno --- 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;