aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-11-02 23:10:52 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commitb66b99a8310d312c53007e124a0924f5795b1b2c (patch)
tree64dffda603d4a1ff8fd38cbc1f2e6c240018ddb4 /nx-X11/programs/Xserver/hw
parent9ca97270568e72fc19db5a28ac03cfd3b85ada91 (diff)
downloadnx-libs-b66b99a8310d312c53007e124a0924f5795b1b2c.tar.gz
nx-libs-b66b99a8310d312c53007e124a0924f5795b1b2c.tar.bz2
nx-libs-b66b99a8310d312c53007e124a0924f5795b1b2c.zip
Clipboard.c: use NullClient instead of NULL where appropriate
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c4
1 files 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();