We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Adjustment] Drag window to move, when window maximized
Drag window to move, when window maximized.
According archcraft-openbox / rc.xml
I create a sample for explaining this feature.
<mouse> <context name="Titlebar"> <mousebind action="Drag" button="A-Left"> <action name="Move"/> </mousebind> <mousebind action="Drag" button="Left"> <action name="if"> <maximizedvertical>yes</maximizedvertical> <then> <action name="Unmaximize"/> <direction>vertical</direction> <action name="MoveResizeTo"> <x>center</x> <y>current</y> </action> <action name="Move"/> </then> <else> <action name="Move"/> </else> </action> </mousebind> </context> </mouse>
<mouse> <context name="Titlebar"> <!-- <mousebind action="Drag" button="A-Left"> <action name="Move"/> </mousebind> //--> <mousebind action="Drag" button="Left"> <action name="if"> <maximized>yes</maximized> <then> <action name="UnmaximizeFull"/> <action name="MoveResizeTo"> <x>center</x> <y>current</y> </action> <action name="Move"/> </then> <else> <action name="Move"/> </else> </action> </mousebind> </context> </mouse>
<mouse> <context name="Frame"> <mousebind action="Drag" button="W-Left"> <action name="Move"/> </mousebind> </context> </mouse>
<mouse> <context name="Frame"> <!-- <mousebind action="Drag" button="W-Left"> <action name="Move"/> </mousebind> //--> <mousebind action="Drag" button="A-Left"> <action name="if"> <maximized>yes</maximized> <then> <action name="UnmaximizeFull"/> <action name="MoveResizeTo"> <x>center</x> <y>current</y> </action> <action name="Move"/> </then> <else> <action name="Move"/> </else> </action> </mousebind> </context> </mouse>
The text was updated successfully, but these errors were encountered:
That's the default behavior already. Just some extra code here for config file.
Sorry, something went wrong.
No branches or pull requests
[Adjustment] Drag window to move, when window maximized
According archcraft-openbox / rc.xml
I create a sample for explaining this feature.
archcraft-openbox / adjustment / mousebind
context Titlebar / orginal
context Titlebar / adjust
context Frame / orginal
context Frame / adjust
Link
The text was updated successfully, but these errors were encountered: