Commit f38ecc6f authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

dix/dispatch.c: fix buggy callback invocation

Looks like a copy'n'paste error.
parent a94fef86
......@@ -3960,7 +3960,12 @@ DeleteClientFromAnySelections(ClientPtr client)
SelectionInfoRec info;
info.selection = &CurrentSelections[i];
#ifdef NXAGENT_SERVER
/* bugfix missing in upstream before introduction of selection.c */
info.kind = SelectionClientClose;
#else
info.kind = SelectionWindowDestroy;
#endif
CallCallbacks(&SelectionCallback, &info);
}
CurrentSelections[i].pWin = (WindowPtr)NULL;
......
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