]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.h
have stacking_restack_request return a bool that says if it did something with TopIf...
[chaz/openbox] / openbox / stacking.h
index eb638734c242b47f35859b1830f40e1a9d3a26b0..4a81617d95eb7160387a11093645597ef81be676 100644 (file)
@@ -67,11 +67,13 @@ void stacking_below(ObWindow *window, ObWindow *below);
   @param detail One of Above, Below, TopIf, BottomIf, Opposite
   @param activate If TRUE, and if the window is going to be raised, it will
                   be activated instead
+  @return false if given TopIf or BottomIf and no action was taken,
+          true otherwise
   See http://tronche.com/gui/x/xlib/window/configure.html for details on
   how each detail works with and without a sibling.
 */
-void stacking_restack_request(struct _ObClient *client,
-                              struct _ObClient *sibling,
-                              gint detail, gboolean activate);
+gboolean stacking_restack_request(struct _ObClient *client,
+                                  struct _ObClient *sibling,
+                                  gint detail, gboolean activate);
 
 #endif
This page took 0.019689 seconds and 4 git commands to generate.