Lines Matching defs:dmxScreen
98 static Bool dmxCheckFontPathElement(DMXScreenInfo *dmxScreen, char *fp)
102 if (!dmxScreen->beDisplay)
107 XSetFontPath(dmxScreen->beDisplay, &fp, 1);
108 dmxSync(dmxScreen, TRUE); /* Must complete before removing handler */
114 static int dmxSetFontPath(DMXScreenInfo *dmxScreen)
121 if (!dmxScreen->beDisplay)
129 XSetFontPath(dmxScreen->beDisplay, fp, npaths);
130 dmxSync(dmxScreen, TRUE); /* Must complete before removing handler */
147 static int dmxCheckFontPath(DMXScreenInfo *dmxScreen, int *error)
153 if (!dmxScreen->beDisplay)
157 oldFontPath = XGetFontPath(dmxScreen->beDisplay, &nOldPaths);
159 result = dmxSetFontPath(dmxScreen);
162 XSetFontPath(dmxScreen->beDisplay, oldFontPath, nOldPaths);
164 dmxSync(dmxScreen, FALSE);
248 DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum];
266 oldFontPath = XGetFontPath(dmxScreen->beDisplay, &nOldPaths);
269 if (dmxSetFontPath(dmxScreen)) {
304 if (!(goodfps[i] = dmxCheckFontPathElement(dmxScreen, fp[i])))
389 (dmxIgnoreBadFontPaths && dmxSetFontPath(dmxScreen))) {
414 XLoadQueryFont(dmxScreen->beDisplay, name);
417 XSetFontPath(dmxScreen->beDisplay, oldFontPath, nOldPaths);
419 dmxSync(dmxScreen, FALSE);
430 DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum];
448 if (dmxScreen->beDisplay) {
463 DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum];
467 XFreeFont(dmxScreen->beDisplay, pFontPriv->font[pScreen->myNum]);
479 DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum];
489 if (dmxScreen->beDisplay)