Lines Matching refs:x11_chanids
1853 sessions[id].x11_chanids = NULL; in session_unused()
1976 if (s->x11_chanids == NULL || !s->used) in session_by_x11_channel()
1978 for (j = 0; s->x11_chanids[j] != -1; j++) { in session_by_x11_channel()
1979 if (s->x11_chanids[j] == id) { in session_by_x11_channel()
2380 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_single_x11()
2382 "closing channel %d", s->self, s->x11_chanids[i]); in session_close_single_x11()
2387 if (s->x11_chanids[i] != id) in session_close_single_x11()
2388 session_close_x11(s->x11_chanids[i]); in session_close_single_x11()
2390 xfree(s->x11_chanids); in session_close_single_x11()
2391 s->x11_chanids = NULL; in session_close_single_x11()
2473 if (s->x11_chanids) in session_close()
2474 xfree(s->x11_chanids); in session_close()
2538 if (s->x11_chanids != NULL) { in session_close_by_channel()
2539 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_close_by_channel()
2540 session_close_x11(s->x11_chanids[i]); in session_close_by_channel()
2541 s->x11_chanids[i] = -1; in session_close_by_channel()
2633 &s->display_number, &s->x11_chanids) == -1) { in session_setup_x11fwd()
2637 for (i = 0; s->x11_chanids[i] != -1; i++) { in session_setup_x11fwd()
2638 channel_register_cleanup(s->x11_chanids[i], in session_setup_x11fwd()