X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=257b480c1e539b2d8462238f541adb19ddfd56d5;hb=6a00a44b999905538d86fc3d6609a0cbce781d5f;hp=1aaa0267c6cc0ba883f7a59b1d1e2123d1224520;hpb=97ffa9e3e27bda2d1fc95b5389db6f49964f0a08;p=chaz%2Fopenbox 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);