9 /*! The possible stacking layers a client window can be a part of */
11 OB_STACKING_LAYER_DESKTOP
, /*!< 0 - desktop windows */
12 OB_STACKING_LAYER_BELOW
, /*!< 1 - normal windows w/ below */
13 OB_STACKING_LAYER_NORMAL
, /*!< 2 - normal windows */
14 OB_STACKING_LAYER_ABOVE
, /*!< 3 - normal windows w/ above */
15 OB_STACKING_LAYER_TOP
, /*!< 4 - always-on-top-windows (docks?) */
16 OB_STACKING_LAYER_FULLSCREEN
, /*!< 5 - fullscreeen windows */
17 OB_STACKING_LAYER_INTERNAL
, /*!< 6 - openbox windows/menus */
18 OB_NUM_STACKING_LAYERS
21 /* list of ObWindow*s in stacking order from highest to lowest */
22 extern GList
*stacking_list
;
24 /*! Sets the window stacking list on the root window from the
26 void stacking_set_list();
28 void stacking_add(ObWindow
*win
);
29 void stacking_add_nonintrusive(ObWindow
*win
);
30 #define stacking_remove(win) stacking_list = g_list_remove(stacking_list, win);
32 /*! Raises a window above all others in its stacking layer */
33 void stacking_raise(ObWindow
*window
);
35 /*! Lowers a window below all others in its stacking layer */
36 void stacking_lower(ObWindow
*window
);
38 /*! Moves a window below another if its in the same layer.
39 This function does not enforce stacking rules IRT transients n such, and so
40 it should really ONLY be used to restore stacking orders from saved sessions
42 void stacking_below(ObWindow
*window
, ObWindow
*below
);