]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.h
revert my commit of d3th, it fucked up focus badly
[chaz/openbox] / openbox / stacking.h
index 132ef4902491e988ed8fd3a1fe24a59d1c606d77..241512497ebc99f63f618136549ad0c0f30096cd 100644 (file)
@@ -19,7 +19,7 @@ typedef enum {
 } ObStackingLayer;
 
 /* list of ObWindow*s in stacking order from highest to lowest */
-extern GList  *stacking_list;
+extern GList *stacking_list;
 
 /*! Sets the window stacking list on the root window from the
   stacking_list */
@@ -32,7 +32,13 @@ void stacking_add_nonintrusive(ObWindow *win);
 /*! Raises a window above all others in its stacking layer */
 void stacking_raise(ObWindow *window);
 
-/*! Lowers a client window below all others in its stacking layer */
+/*! Lowers a window below all others in its stacking layer */
 void stacking_lower(ObWindow *window);
 
+/*! Moves a window below another if its in the same layer.
+  This function does not enforce stacking rules IRT transients n such, and so
+  it should really ONLY be used to restore stacking orders from saved sessions
+*/
+void stacking_below(ObWindow *window, ObWindow *below);
+
 #endif
This page took 0.020947 seconds and 4 git commands to generate.