diff options
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/Xext/Makefile | 2 | ||||
-rw-r--r-- | xorg-server/Xext/xf86bigfont.c | 5 |
2 files changed, 6 insertions, 1 deletions
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 |