Lines Matching defs:display
57 int display;
66 int display;
283 if (dsession_mgr_table[index].display == -1)
287 printf("\tdisplay = :%d\n", dsession_mgr_table[index].display);
433 } else if (strncmp(buf, "\tx11-display = ",
434 sizeof ("\tx11-display = ") - 1) == 0) {
437 if (strncmp(&buf[sizeof ("\tx11-display = ") - 1], "''",
439 ck_sessions[session_num].display = -1;
442 if (sscanf(buf, "\tx11-display = ':%d'",
444 ck_sessions[session_num].display = disp;
570 char display[8];
572 if (dsession_mgr_table[i].display != -1)
573 snprintf(display, sizeof (display), ":%d",
574 dsession_mgr_table[i].display);
579 setenv("DISPLAY", display, 1);
589 printf("server pid %ld set for display :%d\n",
591 dsession_mgr_table[i].display);
763 (ck_sessions[j].display == -1))
775 (ck_sessions[0].display != -1))
789 dsession_mgr_table[i].display = ck_sessions[j].display;
796 dsession_mgr_table[i].display);
819 dsession_mgr_table[index].display = ck_sessions[0].display;
827 dsession_mgr_table[index].display);
867 if (dsession_mgr_table[i].display != -1) {
874 if (ck_sessions[j].display == dsession_mgr_table[i].display) {
934 int display;
940 /* avoid using display :0 */
941 display = index + 1;
963 * the same display. this could happen when previous
966 if (dsession_mgr_table[index].display != -1) {
973 if (ck_sessions[i].display ==
974 dsession_mgr_table[index].display) {
1029 if ((display = dsession_mgr_table[index].display)
1031 display = index + 1;
1038 dsession_mgr_table[index].display = -1;
1042 display = index + 1;
1066 " --display-type=HotPlug --seat-id=StaticSeat1"
1067 " display=:%d busid=%s",
1068 display, dsession_mgr_table[index].busid);
1151 int display = -1;
1156 display = dsession_mgr_table[i].display;
1162 if (display != -1) {
1163 /* found a session in mgr table with valid display */
1167 (display == ck_sessions[k].display)) {
1170 * with same display. update mgr table
1424 fprintf(stderr, "init: too many display devices\n");
1451 dsession_mgr_table[disp_num].display = -1;
1556 " sub-command:\t\t(<dev> is path of display device)\n"