Commit 8b0bb28e authored by Ulrich Sibiller's avatar Ulrich Sibiller

Events.c: scope improvement

parent e66d2c86
......@@ -2851,10 +2851,10 @@ int nxagentHandleXFixesSelectionNotify(XEvent *X)
fprintf(stderr, "%s: Handling event.\n", __func__);
#endif
Atom local = nxagentRemoteToLocalAtom(xfixesEvent -> xfixesselection.selection);
if (SelectionCallback)
{
Atom local = nxagentRemoteToLocalAtom(xfixesEvent -> xfixesselection.selection);
int i = nxagentFindCurrentSelectionIndex(local);
if (i < NumCurrentSelections)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment