You are not logged in.
As seen in i3 where one can resize windows with right-mouse-draging in window title bar, trying something similar in openbox.
Trying to paste this into rc.xml
<mousebind action="Drag" button="Right">
<action name="Resize"/>
</mousebind>
inside of
<context name="Titlebar"> ... </context>
doesn't seem to yield any results. Any solutions?
Last edited by brontosaurusrex (2019-11-02 12:49:39)
Online
It may clash with other actions, which take priority? There is the default window Resize action ("A-Right") which resizes a window, but I guess you are looking for a quick one-handed method.
EDIT: it works for me
<mousebind button="Right" action="Drag">
<action name="Resize"/>
</mousebind>
You need to keep away from the middle area of the titlebar to get the resize action in both dimensions, otherwise it just works vertically.
Last edited by damo (2019-11-01 20:33:04)
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
There is the default window Resize action ("A-Right") which resizes a window,
Did you mean Alt+R?
"Blind faith to authority is the greatest enemy of truth."
Offline
damo wrote:There is the default window Resize action ("A-Right") which resizes a window,
Did you mean Alt+R?
Yes, but in rc.xml it is written as "A-Right".
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
It may clash with other actions, which take priority? There is the default window Resize action ("A-Right") which resizes a window, but I guess you are looking for a quick one-handed method.
EDIT: it works for me
<mousebind button="Right" action="Drag"> <action name="Resize"/> </mousebind>
You need to keep away from the middle area of the titlebar to get the resize action in both dimensions, otherwise it just works vertically.
I think it works for you because you have "button" followed by "action". B-rex has "action" followed by "button", so the action is ignored, then the button is just a click on the titlebar - which will conflict with the raise/focus mouse binding.
From the openbox help page:
A mouse binding is specified as follows:
<mouse>
...
<context name="CONTEXT...">
<mousebind button="BUTTON..." action="EVENT">
...ACTIONS...
</mousebind>
</context>
...
</mouse>
You must unlearn what you have learned.
-- yoda
Online
Ok, solved, it had a misunderstanding with my rightMice scrolling thing (which was globally set to scroll).
Last edited by brontosaurusrex (2019-11-02 12:50:35)
Online
...
I think it works for you because you have "button" followed by "action". B-rex has "action" followed by "button", so the action is ignored, then the button is just a click on the titlebar - which will conflict with the raise/focus mouse binding.
I tried it both ways, and they both worked
To get a "click" action for the button, you need to specify that action AFAIK
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