diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-08-21 13:12:23 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-08-24 14:42:11 +0200 |
commit | 2d450e383c8d31b9d638bf421cbfabc7a3cd5eb3 (patch) | |
tree | be01158236827ccfbdc013b0bc668fa1647f1156 /nx-X11/programs/Xserver/hw | |
parent | 46fef31507fd2a5ba80fd3824bb00514497fc30f (diff) | |
download | nx-libs-2d450e383c8d31b9d638bf421cbfabc7a3cd5eb3.tar.gz nx-libs-2d450e383c8d31b9d638bf421cbfabc7a3cd5eb3.tar.bz2 nx-libs-2d450e383c8d31b9d638bf421cbfabc7a3cd5eb3.zip |
Fix pasting the clipboard directly after session start.
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 1771d4c9d..72c772b43 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -1583,6 +1583,14 @@ int nxagentInitClipboard(WindowPtr pWin) nxagentXFixesInfo.Initialized = 1; } + /* + The first paste from CLIPBOARD did not work directly after + session start. Removing this code makes it work. It is unsure why + it was introduced in the first place so it is possible that we + see other effects by leaving out this code. + + Fixes X2Go bug #952, see https://bugs.x2go.org/952 for details . + if (nxagentSessionId[0]) { #ifdef TEST @@ -1595,6 +1603,7 @@ int nxagentInitClipboard(WindowPtr pWin) pWin -> eventMask |= PropertyChangeMask; nxagentChangeWindowAttributes(pWin, CWEventMask); } + */ if (nxagentReconnectTrap) { |