version 1.33, 2010/01/03 12:51:05 |
version 1.34, 2010/01/23 21:07:31 |
|
|
s = ARRAY_ITEM(&sessions, i); |
s = ARRAY_ITEM(&sessions, i); |
if (s == NULL || !session_has(s, w)) |
if (s == NULL || !session_has(s, w)) |
continue; |
continue; |
if ((wl = winlink_find_by_window(&s->windows, w)) == NULL) |
while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) { |
continue; |
if (session_detach(s, wl)) { |
|
server_destroy_session_group(s); |
if (session_detach(s, wl)) |
break; |
server_destroy_session_group(s); |
} else |
else |
server_redraw_session_group(s); |
server_redraw_session_group(s); |
} |
} |
} |
} |
} |
|
|