You are not logged in.
Hi guys, I was wondering if there is some WM that is able to, automatically, raise the window layer (always on top) when you shade it. And put the window in the normal layer when you unshade it.
Offline
You should be able to do that in FVWM using a Layer function.
An example of a layer function is given here, though you need to modify it a bit to fit what you want.
Offline
Thanks I will try that
Edit
I found a way to do that with Openbox
Modifying the actions in the .config/openbox/rc.xml
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<!--<action name="Unfocus"/>-->
<!--<action name="Lower"/>-->
<action name="ToggleAlwaysOnTop"/>
<!--<action name="SendToTopLayer"/>-->
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Raise"/>
<action name="ToggleAlwaysOnTop"/>
<!--<action name="SendToNormalLayer"/>-->
</mousebind>
Using "ToggleAlwaysOnTop" or "SendToTopLayer"/"SendToNormalLayer" does the job for me.
Last edited by noalwin (2008-01-30 16:49:50)
Offline