summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 1aaa0267..257b480c 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1376,9 +1376,9 @@ void client_update_title(ObClient *self)
/* try netwm */
if (!PROP_GETS(self->window, net_wm_name, utf8, &data))
- /* try old x stuff */
- if (!PROP_GETS(self->window, wm_name, locale, &data))
- data = g_strdup("Unnamed Window");
+ /* try old x stuff */
+ if (!PROP_GETS(self->window, wm_name, locale, &data))
+ data = g_strdup("Unnamed Window");
/* did the title change? then reset the title_count */
if (old_title && 0 != strncmp(old_title, data, strlen(data)))
@@ -1412,7 +1412,7 @@ void client_update_title(ObClient *self)
self->title = data;
if (self->frame)
- frame_adjust_title(self->frame);
+ frame_adjust_title(self->frame);
g_free(old_title);