]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
dont use the parent's title in the focus cycling dialog
[chaz/openbox] / openbox / focus.c
index 674a24713ddfb930753c07fa64ecd62979475bc9..5560c3d43c1af21b7d9eb4cbb762a97506f271d1 100644 (file)
@@ -333,7 +333,7 @@ static void popup_cycle(ObClient *c, gboolean show)
     } else {
         Rect *a;
         ObClient *p = c;
-        gchar *title;
+        gchar *title = NULL;
 
         a = screen_physical_area_monitor(0);
         icon_popup_position(focus_cycle_popup, CenterGravity,
@@ -350,13 +350,13 @@ static void popup_cycle(ObClient *c, gboolean show)
         while (p->transient_for && p->transient_for != OB_TRAN_GROUP)
             p = p->transient_for;
 
-        if (p == c)
-            title = NULL;
-        else
+/*
+        if (p != c)
             title = g_strconcat((c->iconic ? c->icon_title : c->title),
                                 " - ",
                                 (p->iconic ? p->icon_title : p->title),
                                 NULL);
+*/
 
         icon_popup_show(focus_cycle_popup,
                         (title ? title :
This page took 0.025072 seconds and 4 git commands to generate.