[X2Go-Commits] [nx-libs] 339/429: Clipboard.c: fix comment position and init array pointer
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:37:02 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 29413b32a2b9e7abacefe812f427366c6cc61210
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Tue Oct 13 00:17:27 2020 +0200
Clipboard.c: fix comment position and init array pointer
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 3d33cb931..e316b9bbf 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -95,8 +95,9 @@ typedef struct _SelectionOwner
* owner is outside nxagent.
*/
-/* FIXME: these should also be stored per selection */
-static SelectionOwner *lastSelectionOwner;
+static SelectionOwner *lastSelectionOwner = NULL;
+
+/* FIXME: can this also be stored per selection? */
static XlibAtom serverLastRequestedSelection;
#define IS_INTERNAL_OWNER(lsoindex) (lastSelectionOwner[lsoindex].client != NULL)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list