aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Clipboard.c')
-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 5f7bdab4e..10d98fe88 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -725,7 +725,7 @@ void nxagentRequestSelection(XEvent *X)
* FIXME: these must be external Atoms!
*/
- Atom targets[] = {XA_STRING};
+ long targets[] = {XA_STRING};
int numTargets = 1;
#ifdef DEBUG
@@ -743,7 +743,7 @@ void nxagentRequestSelection(XEvent *X)
X->xselectionrequest.requestor,
X->xselectionrequest.property,
XInternAtom(nxagentDisplay, "ATOM", 0),
- sizeof(Atom)*8,
+ 32,
PropModeReplace,
(unsigned char*)&targets,
numTargets);