From cabcea2002f682f2f11bbbd936d55fc5e4fe6ba0 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 31 Mar 2004 07:40:06 +0000 Subject: [PATCH] okay, so maybe i should try compiling things. lets see if i can get away with not testing it --- openbox/client.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index 7f837e06..a9a99cee 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1450,9 +1450,10 @@ void client_update_title(ObClient *self) /* try old x stuff */ 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(""), goto no_number; - else + if (self->transient) { + data = g_strdup(""); + goto no_number; + } else data = g_strdup("Unnamed Window"); /* did the title change? then reset the title_count */ -- 2.39.2