From: Mikael Magnusson Date: Tue, 30 Mar 2004 22:32:12 +0000 (+0000) Subject: this is not so nice X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=89f223e2533761b68bb3ba473c92f37466387c8a;p=chaz%2Fopenbox this is not so nice --- diff --git a/openbox/client.c b/openbox/client.c index 983e3afd..7f837e06 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1451,7 +1451,7 @@ void client_update_title(ObClient *self) if (!PROP_GETS(self->window, wm_name, locale, &data)) // http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html if (self->transient) - data = g_strdup(""); + data = g_strdup(""), goto no_number; else data = g_strdup("Unnamed Window"); @@ -1483,7 +1483,7 @@ void client_update_title(ObClient *self) } PROP_SETS(self->window, net_wm_visible_name, data); - +no_number: self->title = data; if (self->frame)