diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-02-17 23:21:06 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:21 +0200 |
commit | f38ecc6ffef14de748ea56ea2a5df32e04eb0e0d (patch) | |
tree | 44e8122f970a1f5a857aeaaba55a4054a6523239 /nx-X11 | |
parent | a94fef86c9ee72d646813f58bf947f7f245ebbca (diff) | |
download | nx-libs-f38ecc6ffef14de748ea56ea2a5df32e04eb0e0d.tar.gz nx-libs-f38ecc6ffef14de748ea56ea2a5df32e04eb0e0d.tar.bz2 nx-libs-f38ecc6ffef14de748ea56ea2a5df32e04eb0e0d.zip |
dix/dispatch.c: fix buggy callback invocation
Looks like a copy'n'paste error.
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/dix/dispatch.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/dix/dispatch.c b/nx-X11/programs/Xserver/dix/dispatch.c index 6d0d61a15..57806f99d 100644 --- a/nx-X11/programs/Xserver/dix/dispatch.c +++ b/nx-X11/programs/Xserver/dix/dispatch.c @@ -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; |