From 6621c53c554b654f21c92ee09d1341c788d3a047 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sun, 4 Aug 2019 01:28:59 +0200 Subject: Clipboard.c: Fix: report timestamps as XA_INTEGER Just as everyone else does. ICCCM is not really clear about this. --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Clipboard.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 07a82b16c..5f948eeea 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -622,7 +622,7 @@ FIXME: Do we need this? XChangeProperty(nxagentDisplay, X->xselectionrequest.requestor, X->xselectionrequest.property, - X->xselectionrequest.target, + XA_INTEGER, 32, PropModeReplace, (unsigned char *) &lastSelectionOwner[i].lastTimeChanged, @@ -1510,7 +1510,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, { ChangeWindowProperty(pWin, property, - target, + XA_INTEGER, 32, PropModeReplace, 1, -- cgit v1.2.3