dont use the parent's title in the focus cycling dialog
This commit is contained in:
parent
7c827e16ba
commit
9fae7e8b1e
1 changed files with 4 additions and 4 deletions
|
@ -333,7 +333,7 @@ static void popup_cycle(ObClient *c, gboolean show)
|
||||||
} else {
|
} else {
|
||||||
Rect *a;
|
Rect *a;
|
||||||
ObClient *p = c;
|
ObClient *p = c;
|
||||||
gchar *title;
|
gchar *title = NULL;
|
||||||
|
|
||||||
a = screen_physical_area_monitor(0);
|
a = screen_physical_area_monitor(0);
|
||||||
icon_popup_position(focus_cycle_popup, CenterGravity,
|
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)
|
while (p->transient_for && p->transient_for != OB_TRAN_GROUP)
|
||||||
p = p->transient_for;
|
p = p->transient_for;
|
||||||
|
|
||||||
if (p == c)
|
/*
|
||||||
title = NULL;
|
if (p != c)
|
||||||
else
|
|
||||||
title = g_strconcat((c->iconic ? c->icon_title : c->title),
|
title = g_strconcat((c->iconic ? c->icon_title : c->title),
|
||||||
" - ",
|
" - ",
|
||||||
(p->iconic ? p->icon_title : p->title),
|
(p->iconic ? p->icon_title : p->title),
|
||||||
NULL);
|
NULL);
|
||||||
|
*/
|
||||||
|
|
||||||
icon_popup_show(focus_cycle_popup,
|
icon_popup_show(focus_cycle_popup,
|
||||||
(title ? title :
|
(title ? title :
|
||||||
|
|
Loading…
Reference in a new issue