Lines Matching defs:display
173 {"-display", ".display", XrmoptionSepArg, (caddr_t) NULL},
194 {"-display displayname", "X server to contact"},
221 const char *display;
564 if (display != NULL) {
565 char *colon = strrchr(display, ':');
566 int n = colon - display;
569 error("Malformed -display argument, \"%s\"\n", display);
578 && strncmp(display, "unix", n)
579 && strncmp(display, "localhost", n)) {
580 /* 1183055(rfe): xlock doesnt accept long display/host name
582 * If both are matching then allow to open display.
606 strncpy(tmp_display, display, n);
680 /* display has been replaced tmp_display because
681 * display will be in :0.0 format and tmp_display
693 error("can't lock %s's display\n", display);
698 display = ":0.0";
699 if (!(dsp = XOpenDisplay(display)))
700 error("unable to open display %s.\n", display);
794 GetResource(RDB, ProgramName, classname, "display", "Display", t_String,
795 env ? env : DEF_DISPLAY, &display);