From dfd524926e5d8f0b9cdb120ce1d943a7f8b1af3a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 26 Sep 2003 18:15:58 +0000 Subject: add client_raise and client_lower which just fire off actions --- openbox/client.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index 0c523deb..ed664c32 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -451,6 +451,26 @@ void client_activate(ObClient *self, gboolean here); /*! Calculates the stacking layer for the client window */ void client_calc_layer(ObClient *self); +/*! Raises the client to the top of its stacking layer + Normally actions call to the client_* functions to make stuff go, but this + one is an exception. It just fires off an action, which will be queued. + This is because stacking order rules can be changed by focus state, and so + any time focus changes you have to wait for it to complete before you can + properly restart windows. As such, this only queues an action for later + execution, once the focus change has gone through. +*/ +void client_raise(ObClient *self); + +/*! Lowers the client to the bottom of its stacking layer + Normally actions call to the client_* functions to make stuff go, but this + one is an exception. It just fires off an action, which will be queued. + This is because stacking order rules can be changed by focus state, and so + any time focus changes you have to wait for it to complete before you can + properly restart windows. As such, this only queues an action for later + execution, once the focus change has gone through. +*/ +void client_lower(ObClient *self); + /*! Updates the window's transient status, and any parents of it */ void client_update_transient_for(ObClient *self); /*! Update the protocols that the window supports and adjusts things if they -- cgit v1.2.3