diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-18 22:15:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-18 22:15:32 +0000 |
| commit | 9fae7e8b1ed7520f9c9193a09931798b5da523f0 (patch) | |
| tree | a745088a3afcb7412d7ffe0ec4b704cb424e602e | |
| parent | 7c827e16ba99824a6a3862c6f72d2102f5abc5c2 (diff) | |
dont use the parent's title in the focus cycling dialog
| -rw-r--r-- | openbox/focus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 674a2471..5560c3d4 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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 : |
