diff options
author | Adam Jackson <ajax@redhat.com> | 2008-02-01 14:59:58 +1100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-02-14 07:11:52 +1100 |
commit | 7c0709a736c0f3aa011de67dd2c2962585ab146e (patch) | |
tree | 7cca66a5b1494289a92352d34dfa5c4fdf79a776 /dix/dixfonts.c | |
parent | 62cfe8863823c0994f20555cb35ee3bacb9e5225 (diff) |
requestingClient is an xprintism, hide it for other servers.
Diffstat (limited to 'dix/dixfonts.c')
-rw-r--r-- | dix/dixfonts.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c index 04f1f1b30..8def6ee21 100644 --- a/dix/dixfonts.c +++ b/dix/dixfonts.c @@ -1934,12 +1934,15 @@ GetDefaultPointSize () FontResolutionPtr GetClientResolutions (int *num) { +#ifdef XPRINT if (requestingClient && requestingClient->fontResFunc != NULL && !requestingClient->clientGone) { return (*requestingClient->fontResFunc)(requestingClient, num); } - else { + else +#endif + { static struct _FontResolution res; ScreenPtr pScreen; |