Lines Matching refs:x11_chanids
1704 sessions[id].x11_chanids = NULL; in session_unused()
1827 if (s->x11_chanids == NULL || !s->used) in session_by_x11_channel()
1829 for (j = 0; s->x11_chanids[j] != -1; j++) { in session_by_x11_channel()
1830 if (s->x11_chanids[j] == id) { in session_by_x11_channel()
2226 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_single_x11()
2228 "closing channel %d", s->self, s->x11_chanids[i]); in session_close_single_x11()
2233 if (s->x11_chanids[i] != id) in session_close_single_x11()
2234 session_close_x11(s->x11_chanids[i]); in session_close_single_x11()
2236 free(s->x11_chanids); in session_close_single_x11()
2237 s->x11_chanids = NULL; in session_close_single_x11()
2315 free(s->x11_chanids); in session_close()
2377 if (s->x11_chanids != NULL) { in session_close_by_channel()
2378 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_by_channel()
2379 session_close_x11(s->x11_chanids[i]); in session_close_by_channel()
2380 s->x11_chanids[i] = -1; in session_close_by_channel()
2467 &s->display_number, &s->x11_chanids) == -1) { in session_setup_x11fwd()
2471 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_setup_x11fwd()
2472 channel_register_cleanup(s->x11_chanids[i], in session_setup_x11fwd()