~ctwm/ctwm/trunk

675.1.7 by Olaf 'Rhialto' Seibert
Move the window ring functions to their own file.
1
/*
2
 * Functions related to the window ring.
3
 */
4
#ifndef _CTWM_WIN_RING_H
5
#define _CTWM_WIN_RING_H
6
7
void UnlinkWindowFromRing(TwmWindow *win);
8
void AddWindowToRing(TwmWindow *win);
9
10
#define WindowIsOnRing(win) ((win) && (win)->ring.next)
11
#define InitWindowNotOnRing(win) ((win)->ring.next = (win)->ring.prev = NULL)
12
13
#endif