From 15ac7a809672ec9213b5bdcad5bb283c9b365bf1 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 5 Sep 2019 21:43:23 +0200 Subject: Trap.h: shorten file by reformatting comments and removing blank lines. --- nx-X11/programs/Xserver/hw/nxagent/Trap.h | 54 +++++++++---------------------- 1 file changed, 15 insertions(+), 39 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Trap.h b/nx-X11/programs/Xserver/hw/nxagent/Trap.h index 3d4bd11f9..cd1e79ff7 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Trap.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Trap.h @@ -27,91 +27,68 @@ #define __Traps_H__ /* - * Set if we are dispatching a render - * extension request. Used to avoid + * Set if we are dispatching a render extension request. Used to avoid * reentrancy in GC operations. */ - extern int nxagentGCTrap; /* - * Set if we are enqueing an internal - * operation, CreateWindow and Reparent- - * Window. Used to remove any screen operation. + * Set if we are enqueing an internal operation, CreateWindow and + * Reparent- Window. Used to remove any screen operation. */ - extern int nxagentScreenTrap; /* - * Set if we are executing a GC operation - * only on the X side. Used to avoid - * reentrancy in FB layer. + * Set if we are executing a GC operation only on the X side. Used to + * avoid reentrancy in FB layer. */ - extern int nxagentFBTrap; /* - * Set if we are dispatching a shared - * memory extension request. + * Set if we are dispatching a shared memory extension request. */ - extern int nxagentShmTrap; /* - * Set if a shared pixmap operation is - * requested by the client. + * Set if a shared pixmap operation is requested by the client. */ - extern int nxagentShmPixmapTrap; /* - * Set if we are dispatching a XVideo - * extension request. + * Set if we are dispatching a XVideo extension request. */ - extern int nxagentXvTrap; /* - * Set if we are dispatching a GLX - * extension request. + * Set if we are dispatching a GLX extension request. */ - extern int nxagentGlxTrap; /* * Set while we are resuming the session. */ - extern int nxagentReconnectTrap; /* - * Set if we need to realize a drawable - * by using a lossless encoding. + * Set if we need to realize a drawable by using a lossless encoding. */ - extern int nxagentLosslessTrap; /* - * Set to force the synchronization of - * a drawable. + * Set to force the synchronization of a drawable. */ - extern int nxagentSplitTrap; /* - * Set to avoid CapsLock synchronization - * problems when CapsLock is the first - * key to be pressed in the session. + * Set to avoid CapsLock synchronization problems when CapsLock is the + * first key to be pressed in the session. */ - extern int nxagentXkbCapsTrap; /* - * Set to avoid NumLock synchronization - * problems when NumLock is the first - * key to be pressed in the session. + * Set to avoid NumLock synchronization problems when NumLock is the + * first key to be pressed in the session. */ - extern int nxagentXkbNumTrap; /* @@ -119,7 +96,6 @@ extern int nxagentXkbNumTrap; * the real X server. This is used to avoid endless loops if callbacks * would trigger another event by the real X server */ - extern int nxagentExternalClipboardEventTrap; #endif /* __Trap_H__ */ -- cgit v1.2.3