Lines Matching defs:pd
488 XtPerDisplay pd;
511 pd = _XtGetPerDisplay(dpy);
512 if ((db = pd->per_screen_db[scrno])) {
520 db = pd->cmd_db;
521 pd->cmd_db = NULL;
524 db = CopyDB(pd->cmd_db);
553 if (!pd->server_db)
556 (void) XrmCombineDatabase(pd->server_db, &db, False);
557 pd->server_db = NULL;
562 pd->per_screen_db[scrno] = db;
580 if (do_fallback && pd->appContext->fallback_resources) { /* Fallback defaults */
584 for (res = pd->appContext->fallback_resources; *res; res++)
770 GetLanguage(Display *dpy, XtPerDisplay pd)
778 if (!pd->language) {
779 name_list[0] = pd->name;
781 class_list[0] = pd->class;
784 if (!pd->server_db)
785 CombineUserDefaults(dpy, &pd->server_db);
786 if (pd->server_db &&
787 XrmQGetResource(pd->server_db, name_list, class_list, &type, &value)
789 pd->language = (char *) value.addr;
792 if (pd->appContext->langProcRec.proc) {
793 if (!pd->language)
794 pd->language = "";
795 pd->language = (*pd->appContext->langProcRec.proc)
796 (dpy, pd->language, pd->appContext->langProcRec.closure);
798 else if (!pd->language || pd->language[0] == '\0') /* R4 compatibility */
799 pd->language = getenv("LANG");
801 if (pd->language)
802 pd->language = XtNewString(pd->language);
839 XtPerDisplay pd,
856 GetLanguage(dpy, pd);
861 XrmParseCommand(&pd->cmd_db, options, (int) num_options, name, argc, argv);
868 name_list[0] = pd->name;
869 class_list[0] = pd->class;
890 Display **dpyP = pd->appContext->list;
892 pd->appContext->sync = tmp_bool;
893 for (i = pd->appContext->count; i; dpyP++, i--) {
898 (void) XSynchronize(dpy, (Bool) pd->appContext->sync);
904 pd->rv = True;
907 value.size = sizeof(pd->multi_click_time);
908 value.addr = (XtPointer) &pd->multi_click_time;
911 pd->multi_click_time = 200;
914 value.size = sizeof(pd->appContext->selectionTimeout);
915 value.addr = (XtPointer) &pd->appContext->selectionTimeout;
920 value.size = sizeof(pd->appContext->identify_windows);
921 value.addr = (XtPointer) &pd->appContext->identify_windows;