forked from enlightenment/enlightenment
And use e_border_name_get to get name
SVN revision: 46154
This commit is contained in:
parent
b1804a21eb
commit
b7066f4191
|
@ -35,12 +35,10 @@ e_illume_border_is_keyboard(E_Border *bd)
|
||||||
if (bd->client.vkbd.vkbd) return 1;
|
if (bd->client.vkbd.vkbd) return 1;
|
||||||
if (il_cfg->policy.vkbd.match.title)
|
if (il_cfg->policy.vkbd.match.title)
|
||||||
{
|
{
|
||||||
char *title;
|
const char *title;
|
||||||
|
|
||||||
title = bd->client.netwm.name;
|
title = e_border_name_get(bd);
|
||||||
if (!title) title = bd->client.icccm.title;
|
if (!strcmp(title, il_cfg->policy.vkbd.title))
|
||||||
if ((title) &&
|
|
||||||
(!strcmp(title, il_cfg->policy.vkbd.title)))
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (il_cfg->policy.vkbd.match.name)
|
if (il_cfg->policy.vkbd.match.name)
|
||||||
|
@ -68,13 +66,10 @@ e_illume_border_is_bottom_panel(E_Border *bd)
|
||||||
{
|
{
|
||||||
if (il_cfg->policy.softkey.match.title)
|
if (il_cfg->policy.softkey.match.title)
|
||||||
{
|
{
|
||||||
char *title;
|
const char *title;
|
||||||
int ret = 0;
|
|
||||||
|
|
||||||
title = bd->client.netwm.name;
|
title = e_border_name_get(bd);
|
||||||
if (!title) title = bd->client.icccm.title;
|
if (!strcmp(title, il_cfg->policy.softkey.title))
|
||||||
if ((title) &&
|
|
||||||
(!strcmp(title, il_cfg->policy.softkey.title)))
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (il_cfg->policy.softkey.match.name)
|
if (il_cfg->policy.softkey.match.name)
|
||||||
|
@ -100,12 +95,10 @@ e_illume_border_is_top_shelf(E_Border *bd)
|
||||||
{
|
{
|
||||||
if (il_cfg->policy.indicator.match.title)
|
if (il_cfg->policy.indicator.match.title)
|
||||||
{
|
{
|
||||||
char *title;
|
const char *title;
|
||||||
|
|
||||||
title = bd->client.netwm.name;
|
title = e_border_name_get(bd);
|
||||||
if (!title) title = bd->client.icccm.title;
|
if (!strcmp(title, il_cfg->policy.indicator.title))
|
||||||
if ((title) &&
|
|
||||||
(!strcmp(title, il_cfg->policy.indicator.title)))
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (il_cfg->policy.indicator.match.name)
|
if (il_cfg->policy.indicator.match.name)
|
||||||
|
|
Loading…
Reference in New Issue