aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-04 01:28:59 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:44:07 +0200
commit6621c53c554b654f21c92ee09d1341c788d3a047 (patch)
treef5fe8111f76d365fb3ea4399a4dd30de95786dca /nx-X11
parent6d5cda4781afd18a49dacb588405bcd985364339 (diff)
downloadnx-libs-6621c53c554b654f21c92ee09d1341c788d3a047.tar.gz
nx-libs-6621c53c554b654f21c92ee09d1341c788d3a047.tar.bz2
nx-libs-6621c53c554b654f21c92ee09d1341c788d3a047.zip
Clipboard.c: Fix: report timestamps as XA_INTEGER
Just as everyone else does. ICCCM is not really clear about this.
Diffstat (limited to 'nx-X11')
-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 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,