[X2Go-Commits] [nx-libs] 55/108: Clipboard.c: GetWindowProperty() does not return BadMatch
git-admin at x2go.org
git-admin at x2go.org
Fri Nov 9 20:35:46 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 1af67b4df234cb1a702554289d4319f904aaef31
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Wed Oct 10 00:26:54 2018 +0200
Clipboard.c: GetWindowProperty() does not return BadMatch
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 7 ++-----
1 file 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 a4a44f2..9cf541e 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
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list