Commit 6621c53c authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: Fix: report timestamps as XA_INTEGER

Just as everyone else does. ICCCM is not really clear about this.
parent 6d5cda47
...@@ -622,7 +622,7 @@ FIXME: Do we need this? ...@@ -622,7 +622,7 @@ FIXME: Do we need this?
XChangeProperty(nxagentDisplay, XChangeProperty(nxagentDisplay,
X->xselectionrequest.requestor, X->xselectionrequest.requestor,
X->xselectionrequest.property, X->xselectionrequest.property,
X->xselectionrequest.target, XA_INTEGER,
32, 32,
PropModeReplace, PropModeReplace,
(unsigned char *) &lastSelectionOwner[i].lastTimeChanged, (unsigned char *) &lastSelectionOwner[i].lastTimeChanged,
...@@ -1510,7 +1510,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, ...@@ -1510,7 +1510,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
{ {
ChangeWindowProperty(pWin, ChangeWindowProperty(pWin,
property, property,
target, XA_INTEGER,
32, 32,
PropModeReplace, PropModeReplace,
1, 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment