[X2Go-Commits] [nx-libs] 320/429: Clipboard.c: reformat for better readability

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:56 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 619236b9880f608e50b69fa5924a3a6e96942530
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sat Oct 3 00:48:27 2020 +0200

    Clipboard.c: reformat for better readability
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 46 +++++++++++++-------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 89d190451..c0fe74c25 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -129,10 +129,10 @@ typedef struct _lastClient
 
 static lastClient *lastClients;
 
-static Window        lastServerRequestor;
-static XlibAtom      lastServerProperty;
-static XlibAtom      lastServerTarget;
-static Time          lastServerTime;
+static Window   lastServerRequestor;
+static XlibAtom lastServerProperty;
+static XlibAtom lastServerTarget;
+static Time     lastServerTime;
 
 static XlibAtom serverTARGETS;
 static XlibAtom serverTIMESTAMP;
@@ -140,20 +140,20 @@ static XlibAtom serverTEXT;
 static XlibAtom serverCOMPOUND_TEXT;
 static XlibAtom serverUTF8_STRING;
 static XlibAtom serverTransFromAgentProperty;
-static Atom clientTARGETS;
-static Atom clientTIMESTAMP;
-static Atom clientTEXT;
-static Atom clientCOMPOUND_TEXT;
-static Atom clientUTF8_STRING;
-static Atom clientCLIPBOARD;
-
-static char szAgentTARGETS[] = "TARGETS";
-static char szAgentTEXT[] = "TEXT";
-static char szAgentTIMESTAMP[] = "TIMESTAMP";
-static char szAgentCOMPOUND_TEXT[] = "COMPOUND_TEXT";
-static char szAgentUTF8_STRING[] = "UTF8_STRING";
-static char szAgentNX_CUT_BUFFER_CLIENT[] = "NX_CUT_BUFFER_CLIENT";
-static char szAgentCLIPBOARD[] = "CLIPBOARD";
+static Atom     clientTARGETS;
+static Atom     clientTIMESTAMP;
+static Atom     clientTEXT;
+static Atom     clientCOMPOUND_TEXT;
+static Atom     clientUTF8_STRING;
+static Atom     clientCLIPBOARD;
+
+static char     szAgentTARGETS[] = "TARGETS";
+static char     szAgentTEXT[] = "TEXT";
+static char     szAgentTIMESTAMP[] = "TIMESTAMP";
+static char     szAgentCOMPOUND_TEXT[] = "COMPOUND_TEXT";
+static char     szAgentUTF8_STRING[] = "UTF8_STRING";
+static char     szAgentNX_CUT_BUFFER_CLIENT[] = "NX_CUT_BUFFER_CLIENT";
+static char     szAgentCLIPBOARD[] = "CLIPBOARD";
 
 /* number of milliseconds to wait for a conversion from the real X server. */
 #define CONVERSION_TIMEOUT 5000
@@ -505,11 +505,11 @@ static int sendEventToClient(ClientPtr client, xEvent *pEvents)
 }
 
 static void sendSelectionNotifyEventToClient(ClientPtr client,
-                                            Time time,
-                                            Window requestor,
-                                            Atom selection,
-                                            Atom target,
-                                            Atom property)
+                                             Time time,
+                                             Window requestor,
+                                             Atom selection,
+                                             Atom target,
+                                             Atom property)
 {
   /*
    * Check if the client is still valid.

--
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