Better check for 'is home'.

SVN revision: 43843
This commit is contained in:
Christopher Michael 2009-11-20 18:07:49 +00:00
parent 97a455a8aa
commit a24704cbed
1 changed files with 4 additions and 3 deletions

View File

@ -219,9 +219,10 @@ illume_border_is_notification(E_Border *bd)
Eina_Bool
illume_border_is_home(E_Border *bd)
{
if ((bd->client.icccm.name) &&
(strstr(bd->client.icccm.name, "Illume-Home")) ||
(strstr(bd->client.icccm.title, "Home")))
if (((bd->client.icccm.name) &&
(strstr(bd->client.icccm.name, "Illume-Home"))) ||
((bd->client.icccm.title) &&
(strstr(bd->client.icccm.title, "Home"))))
return 1;
return 0;
}