Topic: Always-on-top toggle button in title bar?

Is it possible to put an always on top toggle button in the title bar of windows as you can with, for example, the rollup function.

I have looked in the OB GUI config window under the appearance tab and it's not an option there so it's probably not possible.

Just wondering if anyone knew another way around it - maybe it can be done through the config files manually?


If not, I'll persevere with the layers functions in the title bar right click menu yikes

Thanks

Brian

Re: Always-on-top toggle button in title bar?

It is indeed on the Appearance tab:
D: Omnipresent (On all desktops)

Last edited by pvsage (2010-02-05 14:05:26)

while ( ! ( succeed = try() ) );

Re: Always-on-top toggle button in title bar?

Always-on-top != Omnipresent

briantm wants alternative way of placing certain windows on top layer, I think...

Re: Always-on-top toggle button in title bar?

pvsage wrote:

It is indeed on the Appearance tab:
D: Omnipresent (On all desktops)

i think you misunderstood what hes after tongue

@ op

its not possible with a button but you can define a rule in the rc.xml for a certain app if thats what you need

http://openbox.org/wiki/Help:Applications

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Always-on-top toggle button in title bar?

Omnipresent is for showing the window on all desktops.
It doesn't fix the window above the others, like the "layer way" does.

Oops!, got beaten to it! smile

Thanks for the link BTW!

Last edited by Zwopper (2010-02-05 14:40:33)

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: Always-on-top toggle button in title bar?

Ok, thanks all big_smile

Re: Always-on-top toggle button in title bar?

briantm-

nice suggestion; i just added:

<action name="ToggleAlwaysOnTop"/>

to the context section of shade in the rc.xml. kind of nifty.

i do also have it bound to super+a. very nice when using things like skype.

cheers and thanks for the idea to add it to shade.

you have to break it before you can fix it

Re: Always-on-top toggle button in title bar?

skewed wrote:

briantm-

nice suggestion; i just added:

<action name="ToggleAlwaysOnTop"/>

to the context section of shade in the rc.xml. kind of nifty.

i do also have it bound to super+a. very nice when using things like skype.

cheers and thanks for the idea to add it to shade.

For what it's worth, I have the following in my rc.xml, which makes the omnipresent button serve as an always-on-top button.

    <context name="AllDesktops">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
       <action name="ToggleAlwaysOnTop"/>
      </mousebind>
    </context>

Last edited by Tiomaidh (2010-07-14 14:31:05)