aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-11-18 23:02:53 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:20:56 +0200
commit36c6f09430f74495cb1802e93b9299be0c3d3e53 (patch)
tree675e633ba4ddf6637667e32bf10d74bc8302a588 /nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
parent75c10f3429eb30023a16219795a85569cb48a73a (diff)
downloadnx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.gz
nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.bz2
nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.zip
nxagent: delete trailing whitespace in many files
Please note that the NX*.c files still have trailing whitespace at many locations. We keep it like that on purpose to make comparisons to the files they are derived from easier.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixmap.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Pixmap.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
index 30e5d1e3f..6d9be3a90 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
@@ -287,7 +287,7 @@ PixmapPtr nxagentCreatePixmap(ScreenPtr pScreen, int width, int height,
* pointers to pVirtualPixmap. We should also remove the copy of id
* and use the one of the real pixmap.
*/
-
+
pVirtualPriv -> id = pPixmapPriv -> id;
pVirtualPriv -> mid = 0;
@@ -783,7 +783,7 @@ void nxagentReconnectPixmap(void *p0, XID x1, void *p2)
#endif
}
-
+
if (nxagentDrawableStatus((DrawablePtr) pPixmap) == NotSynchronized)
{
if (nxagentIsCorruptedBackground(pPixmap) == 1)
@@ -1238,9 +1238,9 @@ FIXME: If the pixmap has a different depth from the window, the
#ifdef WARNING
fprintf(stderr, "nxagentPixmapOnShadowDisplay: WARNING! Visual not found. Using default visual.\n");
#endif
-
+
pVisual = nxagentVisuals[nxagentDefaultVisualIndex].visual;
- }
+ }
XImage *image = XCreateImage(nxagentDisplay, pVisual,
depth, format, 0, (char *) data,
@@ -1394,9 +1394,9 @@ Bool nxagentFbOnShadowDisplay(void)
#ifdef WARNING
fprintf(stderr, "nxagentFbOnShadowDisplay: WARNING! Visual not found. Using default visual.\n");
#endif
-
+
pVisual = nxagentVisuals[nxagentDefaultVisualIndex].visual;
- }
+ }
XImage *image = XCreateImage(nxagentDisplay, pVisual,
depth, format, 0, (char *) data,
@@ -1480,5 +1480,3 @@ void nxagentPrintResources(void)
}
#endif
-
-