merge the C branch into HEAD
[dana/openbox.git] / c / stacking.h
1 #ifndef __stacking_h
2 #define __stacking_h
3
4 #include <glib.h>
5
6 struct Client;
7
8 extern GList  *stacking_list;
9
10 /*! Sets the client stacking list on the root window from the
11   stacking_clientlist */
12 void stacking_set_list();
13
14 /*! Raises a client window above all others in its stacking layer
15   raiseWindow has a couple of constraints that lowerWindow does not.<br>
16   1) raiseWindow can be called after changing a Client's stack layer, and
17      the list will be reorganized properly.<br>
18   2) raiseWindow guarantees that XRestackWindows() will <i>always</i> be
19      called for the specified client.
20 */
21 void stacking_raise(struct Client *client);
22
23 /*! Lowers a client window below all others in its stacking layer */
24 void stacking_lower(struct Client *client);
25
26 #endif