You are not logged in.
Hello, I'm using the latest crunchbang distribution with nitrogen updates. There's something I would like to tell openbox from the beginning but don't know how :
I would like a window to raise *only* when I click in the title bar and not in the frame.
Which allows to copy something from a window somewhere behind and paste it in the front window without switching windows.
For instance
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
Is not effective : the window I click on stays back and gets the focus but not the events ! So I can't select text or do anything.
Last edited by berniz95 (2016-06-23 17:47:59)
Offline
The first thing that springs to mind is to have a keybind to toggle the window to stay on top: http://openbox.org/wiki/Help:Actions#ToggleAlwaysOnTop
So set it to stay on top, then do your C&P etc, then toggle it to normal behaviour.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I found a different way :
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<!-- <action name="Raise"/> commented out -->
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<!-- <action name="Raise"/> commented out -->
last line commented out does what I expect : tell the Client to focus but not raise.
Thanks for answering quickly !
(edit) in file ~/.config/openbox/rc.xml that is.
Last edited by berniz95 (2017-08-30 10:42:01)
Offline