[X2Go-Commits] [nx-libs] 362/429: Clipboard.c: use NullClient instead of NULL where appropriate
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:37:08 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit b66b99a8310d312c53007e124a0924f5795b1b2c
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Mon Nov 2 23:10:52 2020 +0100
Clipboard.c: use NullClient instead of NULL where appropriate
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 86b960a42..f57459882 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -109,7 +109,7 @@ static SelectionOwner *lastSelectionOwner = NULL;
/* FIXME: can this also be stored per selection? */
static XlibAtom serverLastRequestedSelection = -1;
-#define IS_INTERNAL_OWNER(lsoindex) (lastSelectionOwner[lsoindex].client != NULL)
+#define IS_INTERNAL_OWNER(lsoindex) (lastSelectionOwner[lsoindex].client != NullClient)
/*
* Needed to handle the notify selection event to
@@ -656,7 +656,7 @@ static void initSelectionOwnerData(int index)
/* there's no owner on nxagent side anymore */
static void clearSelectionOwnerData(int index)
{
- lastSelectionOwner[index].client = NULL;
+ lastSelectionOwner[index].client = NullClient;
lastSelectionOwner[index].window = None;
lastSelectionOwner[index].windowPtr = NULL;
lastSelectionOwner[index].lastTimeChanged = GetTimeInMillis();
--
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