summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c7
1 files 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 */