From cef399a3d6b092873d3074d10c289299c2ce094e Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 23 Jan 2012 14:53:26 +0100 Subject: Enabled XFree86 BigFont extension --- xorg-server/Xext/Makefile | 2 +- xorg-server/Xext/xf86bigfont.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'xorg-server') diff --git a/xorg-server/Xext/Makefile b/xorg-server/Xext/Makefile index 1fd048d52..60907a1b3 100644 --- a/xorg-server/Xext/Makefile +++ b/xorg-server/Xext/Makefile @@ -14,6 +14,7 @@ xtest.c \ geext.c \ panoramiX.c \ panoramiXprocs.c \ +xf86bigfont.c \ panoramiXSwap.c #shm.c \ @@ -22,7 +23,6 @@ panoramiXSwap.c #mbufbf.c \ #mbufpx.c \ #xcalibrate.c \ -#xf86bigfont.c \ #xprint.c \ #xselinux.c \ #xvdisp.c \ diff --git a/xorg-server/Xext/xf86bigfont.c b/xorg-server/Xext/xf86bigfont.c index 4b63a13a1..e56370152 100644 --- a/xorg-server/Xext/xf86bigfont.c +++ b/xorg-server/Xext/xf86bigfont.c @@ -291,8 +291,13 @@ ProcXF86BigfontQueryVersion( reply.sequenceNumber = client->sequence; reply.majorVersion = SERVER_XF86BIGFONT_MAJOR_VERSION; reply.minorVersion = SERVER_XF86BIGFONT_MINOR_VERSION; + #ifdef WIN32 + reply.uid = 0; + reply.gid = 0; + #else reply.uid = geteuid(); reply.gid = getegid(); + #endif #ifdef HAS_SHM reply.signature = signature; #else -- cgit v1.2.3