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