aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Visual.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 22:46:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 22:46:24 +0100
commita261b72435d7d30dbe36529a51fc53f6ade34dff (patch)
treefde666b59abbe3bdf0ed574147344c0d25075b03 /nx-X11/programs/Xserver/hw/nxagent/Visual.h
parent0e2b7479cd4567128fbcd975e5376744d78cd416 (diff)
parentadca0cc92abed6f7f6184b91d807a4befb80e856 (diff)
downloadnx-libs-a261b72435d7d30dbe36529a51fc53f6ade34dff.tar.gz
nx-libs-a261b72435d7d30dbe36529a51fc53f6ade34dff.tar.bz2
nx-libs-a261b72435d7d30dbe36529a51fc53f6ade34dff.zip
Merge branch 'uli42-pr/code_cleanup' into 3.6.x
Attributes GH PR #869: https://github.com/ArcticaProject/nx-libs/pull/869
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Visual.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Visual.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Visual.h b/nx-X11/programs/Xserver/hw/nxagent/Visual.h
index 70799f3f8..40946f3c0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Visual.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Visual.h
@@ -42,7 +42,10 @@ is" without express or implied warranty.
Visual *nxagentVisual(VisualPtr pVisual);
Visual *nxagentVisualFromID(ScreenPtr pScreen, VisualID visual);
+
+#if 0
Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth);
+#endif
Colormap nxagentDefaultVisualColormap(Visual *visual);
@@ -50,17 +53,14 @@ Colormap nxagentDefaultVisualColormap(Visual *visual);
nxagentVisualFromID((pScreen), (pScreen) -> rootVisual)
/*
- * Visual generated by Xorg and Xfree86 at
- * 16-bit depth differs on the bits_per_rgb
- * value, so we avoid checking it.
+ * Visual generated by Xorg and Xfree86 at 16-bit depth differs on the
+ * bits_per_rgb value, so we avoid checking it.
*/
/*
- * Some Solaris X servers uses the color
- * masks inverted, so that the red and
- * the blue mask are switched. To reconnect
- * the session on this displays, we do a
- * double check, as workaround.
+ * Some Solaris X servers uses the color masks inverted, so that the
+ * red and the blue mask are switched. To reconnect the session on
+ * this displays, we do a double check, as workaround.
*/
#define nxagentCompareVisuals(v1, v2) \