]> Dogcows Code - chaz/openbox/commitdiff
try utf8 for WM_NAME if locale fails, really the _locale functions in prop.c are...
authorMikael Magnusson <mikachu@comhem.se>
Wed, 16 Aug 2006 16:51:00 +0000 (16:51 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 16 Aug 2006 16:51:00 +0000 (16:51 +0000)
openbox/client.c

index d4759bb9495d5118def64d29d899b50cfcc300f8..2cf014f6eafb347b7d64afc5bbf43ae151e8b466 100644 (file)
@@ -1535,7 +1535,8 @@ 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)) {
+        if (!PROP_GETS(self->window, wm_name, locale, &data)
+            && !PROP_GETS(self->window, wm_name, utf8, &data)) {
             // http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html
             if (self->transient) {
                 data = g_strdup("");
This page took 0.026163 seconds and 4 git commands to generate.