Don't request things we can't handle.

SVN revision: 52797
This commit is contained in:
Brett Nash 2010-09-27 04:25:17 +00:00
parent fba4994c3d
commit 28e23f47ab
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ notify_handler_targets(struct _elm_cnp_selection *sel,
if (!(atoms[j].formats & sel->requestformat)) continue;
for (i = 0 ; i < targets->data.length ; i ++)
{
if (atoms[j].atom == atomlist[i])
if (atoms[j].atom == atomlist[i] && atoms[j].notify)
{
cnp_debug("Atom %s matches\n",atoms[j].name);
goto done;