Don't request things we can't handle.
SVN revision: 52797
This commit is contained in:
parent
fba4994c3d
commit
28e23f47ab
|
@ -628,7 +628,7 @@ notify_handler_targets(struct _elm_cnp_selection *sel,
|
||||||
if (!(atoms[j].formats & sel->requestformat)) continue;
|
if (!(atoms[j].formats & sel->requestformat)) continue;
|
||||||
for (i = 0 ; i < targets->data.length ; i ++)
|
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);
|
cnp_debug("Atom %s matches\n",atoms[j].name);
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in New Issue