Lines Matching refs:x11_chanids
1908 sessions[id].x11_chanids = NULL; in session_unused()
2031 if (s->x11_chanids == NULL || !s->used) in session_by_x11_channel()
2033 for (j = 0; s->x11_chanids[j] != -1; j++) { in session_by_x11_channel()
2034 if (s->x11_chanids[j] == id) { in session_by_x11_channel()
2434 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_single_x11()
2436 "closing channel %d", s->self, s->x11_chanids[i]); in session_close_single_x11()
2441 if (s->x11_chanids[i] != id) in session_close_single_x11()
2442 session_close_x11(s->x11_chanids[i]); in session_close_single_x11()
2444 free(s->x11_chanids); in session_close_single_x11()
2445 s->x11_chanids = NULL; in session_close_single_x11()
2517 free(s->x11_chanids); in session_close()
2579 if (s->x11_chanids != NULL) { in session_close_by_channel()
2580 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_by_channel()
2581 session_close_x11(s->x11_chanids[i]); in session_close_by_channel()
2582 s->x11_chanids[i] = -1; in session_close_by_channel()
2674 &s->display_number, &s->x11_chanids) == -1) { in session_setup_x11fwd()
2678 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_setup_x11fwd()
2679 channel_register_cleanup(s->x11_chanids[i], in session_setup_x11fwd()