To make unsnapping work replace <mousebind button="Left" action="Drag">...</mousebind>
in <context name="Titlebar">
with
<mousebind button="Left" action="Drag">
<!-- Unsnap if snapped-->
<action name="if">
<maximizedvertical>yes</maximizedvertical>
<then>
<action name="Unmaximize"/>
<direction>vertical</direction>
<action name="MoveResizeTo">
<x>center</x>
<!-- we center windows in order to mitigate discrepancies
between window placement and mouse cursor -->
<y>current</y>
</action>
<action name="Move"/>
</then>
<else>
<action name="Move"/>
</else>
</action>
</mousebind>
in ~/.config/openbox/rc.xml
Pinned Comments
E5ten commented on 2018-03-31 08:56 (UTC) (edited on 2018-03-31 15:06 (UTC) by E5ten)
To make unsnapping work replace
<mousebind button="Left" action="Drag">...</mousebind>
in<context name="Titlebar">
within
~/.config/openbox/rc.xml