]> Dogcows Code - chaz/openbox/commitdiff
alert windows can be titleless, maybe all titleless windows should be empty, i dunno
authorMikael Magnusson <mikachu@comhem.se>
Sat, 20 Mar 2004 21:34:29 +0000 (21:34 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 20 Mar 2004 21:34:29 +0000 (21:34 +0000)
openbox/client.c

index 538cfbeda95e3112c6e6c5fff6252cd7c264b968..a90dda6a4f5197c12bf26c25a8afc806da9fb906 100644 (file)
@@ -1505,6 +1505,12 @@ void client_update_title(ObClient *self)
         data = vdata;
     }
 
+    // http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html
+    if (self->transient)
+        data = '\0';
+    else
+        data = g_strdup("Unnamed Window");
+
     PROP_SETS(self->window, net_wm_visible_icon_name, data);
 
     self->icon_title = data;
This page took 0.028814 seconds and 4 git commands to generate.