diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-03-31 07:40:06 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-03-31 07:40:06 +0000 |
| commit | cabcea2002f682f2f11bbbd936d55fc5e4fe6ba0 (patch) | |
| tree | b5cffaa8ac89361ae873fb61e31b254a79dd8e74 | |
| parent | 89f223e2533761b68bb3ba473c92f37466387c8a (diff) | |
okay, so maybe i should try compiling things. lets see if i can get away with not testing it
| -rw-r--r-- | openbox/client.c | 7 |
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 */ |
