From 220015e56e0b8ce1a00bd0f6e89bc25bb6e73cbf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 04:39:06 +0000 Subject: make configurerequest activate but net_restack_windows just restack. fix bottomif, topif, opposite. fix debug output in event printing when there was no problem --- openbox/stacking.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'openbox/stacking.h') diff --git a/openbox/stacking.h b/openbox/stacking.h index d570c944..afa4a6c6 100644 --- a/openbox/stacking.h +++ b/openbox/stacking.h @@ -59,21 +59,18 @@ void stacking_lower(ObWindow *window); */ void stacking_below(ObWindow *window, ObWindow *below); -/*! Returns TRUE if client is occluded by sibling. If sibling is NULL it tries - against all other clients. Otherwise, it returns FALSE. -*/ -gboolean stacking_occluded(struct _ObClient *client,struct _ObClient *sibling); - /*! Restack a window based upon a sibling (or all windows) in various ways. @param client The client to be restacked @param sibling Another client to compare to, or NULL to compare to all windows @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 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); + gint detail, gboolean); #endif -- cgit v1.2.3