diff options
author | Idan Freiberg <speidy@gmail.com> | 2017-01-23 08:16:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 08:16:18 +0200 |
commit | 4a23b7939c716cc9ba8320dc994ee418e6b1fda1 (patch) | |
tree | c61b9cad7629385a44c70954e8277cb352b6536c /sesman | |
parent | 6a5f90ca6efd6e0127a4a50ea11e4f4c6065833a (diff) | |
parent | bf4c32c862cb72a6cbfa587357b1db806c4e4cc8 (diff) | |
download | xrdp-proprietary-4a23b7939c716cc9ba8320dc994ee418e6b1fda1.tar.gz xrdp-proprietary-4a23b7939c716cc9ba8320dc994ee418e6b1fda1.zip |
Merge pull request #630 from selu/devel
Fix calling XChangeProperty in clipboard provide
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/chansrv/clipboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c index 7a9795d6..499dcc03 100644 --- a/sesman/chansrv/clipboard.c +++ b/sesman/chansrv/clipboard.c @@ -966,7 +966,7 @@ clipboard_provide_selection(XSelectionRequestEvent *req, Atom type, int format, if (bytes < g_incr_max_req_size) { XChangeProperty(g_display, req->requestor, req->property, - type, format, PropModeReplace, (tui8 *)data, bytes); + type, format, PropModeReplace, (tui8 *)data, length); g_memset(&xev, 0, sizeof(xev)); xev.xselection.type = SelectionNotify; xev.xselection.send_event = True; |