You are not logged in.

#1 2008-01-30 11:47:12

noalwin
Member
From: Spain
Registered: 2007-06-08
Posts: 115

raise layer at shading

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

#2 2008-01-30 14:12:56

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: raise layer at shading

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

#3 2008-01-30 15:20:50

noalwin
Member
From: Spain
Registered: 2007-06-08
Posts: 115

Re: raise layer at shading

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

Board footer

Powered by FluxBB