Lines Matching refs:next
5 * - If a window is not on the ring, its TwmWindow::ring.next and .prev
9 * - Corollary: if a window is the only one on the ring, .next and .prev
29 TwmWindow *next = win->ring.next;
38 // But if it is, prev/next should always exist.
40 assert(next != NULL);
45 * 3. If window was ring leader, set to next (or null)
47 * If the window is the only one in the ring, prev == next == win,
50 prev->ring.next = next;
51 next->ring.prev = prev;
53 win->ring.next = win->ring.prev = NULL;
56 Scr->Ring = (next != win ? next : NULL);
67 TwmWindow *before = after->ring.next;
69 win->ring.next = before;
72 after->ring.next = win;
79 assert(win->ring.next == NULL);
86 win->ring.next = win->ring.prev = Scr->Ring = win;