aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix/glyphcurs.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-18 08:10:08 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-25 00:39:27 +0200
commit12130a4d9e41f37a1af9caaa95fb46fd284d03aa (patch)
tree63d3109b194210236b9e938b20fe86062c6ddb28 /nx-X11/programs/Xserver/dix/glyphcurs.c
parenta648558796042b0cdb1a373f52bf8a4ca2dbea87 (diff)
downloadnx-libs-12130a4d9e41f37a1af9caaa95fb46fd284d03aa.tar.gz
nx-libs-12130a4d9e41f37a1af9caaa95fb46fd284d03aa.tar.bz2
nx-libs-12130a4d9e41f37a1af9caaa95fb46fd284d03aa.zip
hw/nxagent/NXglyphcurs.c: Shrink file, drop duplicate code that can identically be found in dix/glyphcurs.c.
Diffstat (limited to 'nx-X11/programs/Xserver/dix/glyphcurs.c')
-rw-r--r--nx-X11/programs/Xserver/dix/glyphcurs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/dix/glyphcurs.c b/nx-X11/programs/Xserver/dix/glyphcurs.c
index 726297d96..f715a327f 100644
--- a/nx-X11/programs/Xserver/dix/glyphcurs.c
+++ b/nx-X11/programs/Xserver/dix/glyphcurs.c
@@ -74,6 +74,7 @@ the first one we find.
cursor metrics.
*/
+#ifndef NXAGENT_SERVER
int
ServerBitsFromGlyph(FontPtr pfont, unsigned ch, register CursorMetricPtr cm, unsigned char **ppbits)
{
@@ -138,7 +139,7 @@ ServerBitsFromGlyph(FontPtr pfont, unsigned ch, register CursorMetricPtr cm, uns
(*pScreen->DestroyPixmap)(ppix);
return Success;
}
-
+#endif /* NXAGENT_SERVER */
Bool
CursorMetricsFromGlyph(register FontPtr pfont, unsigned ch, register CursorMetricPtr cm)