Lines Matching refs:inDpy
47 static Display *inDpy, *outDpy;
238 inDpy = GetDisplay(argv[0], inDpyName);
239 if (!inDpy)
243 inDpy = outDpy;
245 if (inDpy) {
255 if (!XkbQueryExtension(inDpy, &i1, &evBase, &errBase, &mj, &mn)) {
274 xkb = XkbGetMap(inDpy, 0, XkbUseCoreKbd);
279 if (XkbGetIndicatorMap(inDpy, XkbAllIndicatorsMask, xkb) != Success) {
283 if (XkbGetNames(inDpy, XkbAllNamesMask, xkb) != Success) {
338 XkbSelectEvents(inDpy, XkbUseCoreKbd, XkbIndicatorStateNotifyMask,
340 XkbGetIndicatorState(inDpy, XkbUseCoreKbd, &n);
378 if (inDpy)
379 XCloseDisplay(inDpy);
380 if (outDpy != inDpy)
382 inDpy = outDpy = NULL;