]> Dogcows Code - chaz/openbox/commitdiff
this is not so nice
authorMikael Magnusson <mikachu@comhem.se>
Tue, 30 Mar 2004 22:32:12 +0000 (22:32 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Tue, 30 Mar 2004 22:32:12 +0000 (22:32 +0000)
openbox/client.c

index 983e3afd8ac1ca840e86094072627ff2c688345f..7f837e0612b954abaee39bf01644ccf3adfb4aeb 100644 (file)
@@ -1451,7 +1451,7 @@ void client_update_title(ObClient *self)
         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("");
+                data = g_strdup(""), goto no_number;
             else
                 data = g_strdup("Unnamed Window");
 
@@ -1483,7 +1483,7 @@ void client_update_title(ObClient *self)
     }
 
     PROP_SETS(self->window, net_wm_visible_name, data);
-
+no_number:
     self->title = data;
 
     if (self->frame)
This page took 0.027281 seconds and 4 git commands to generate.