aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-10-10 00:26:54 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-10-27 20:55:02 +0200
commit1af67b4df234cb1a702554289d4319f904aaef31 (patch)
treeda7573cbc9245deee80b2ee77509eb55d0c9c894 /nx-X11/programs/Xserver/hw/nxagent
parent018b561b7c2861dd777da164fd6fc3c00bd79c77 (diff)
downloadnx-libs-1af67b4df234cb1a702554289d4319f904aaef31.tar.gz
nx-libs-1af67b4df234cb1a702554289d4319f904aaef31.tar.bz2
nx-libs-1af67b4df234cb1a702554289d4319f904aaef31.zip
Clipboard.c: GetWindowProperty() does not return BadMatch
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index a4a44f2c2..9cf541e9a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1092,8 +1092,7 @@ void nxagentNotifySelection(XEvent *X)
fprintf(stderr, "%s: GetWindowProperty() returned [%s]\n", __func__, GetXErrorString(result));
#endif
if (result == BadAlloc || result == BadAtom ||
- result == BadMatch || result == BadValue ||
- result == BadWindow)
+ result == BadWindow || result == BadValue)
{
fprintf (stderr, "Client GetProperty failed. Error = %s", GetXErrorString(result));
lastServerProperty = None;
@@ -1109,11 +1108,9 @@ void nxagentNotifySelection(XEvent *X)
#endif
if (result == BadAlloc || result == BadAtom ||
- result == BadMatch || result == BadValue ||
- result == BadWindow)
+ result == BadWindow || result == BadValue)
{
fprintf (stderr, "SelectionNotify - XChangeProperty failed. Error = %s\n", GetXErrorString(result));
-
lastServerProperty = None;
}
else