From 0f677834e253dfd18a246c8811bf4a4e364d5e0e Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 1 Jun 2007 23:20:05 +0000 Subject: have stacking_restack_request return a bool that says if it did something with TopIf/BottomIf (other cases always return true) --- openbox/stacking.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'openbox/stacking.h') diff --git a/openbox/stacking.h b/openbox/stacking.h index eb638734..4a81617d 100644 --- a/openbox/stacking.h +++ b/openbox/stacking.h @@ -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 -- cgit v1.2.3