>>101543235
to allow moving a maximized windows using alt+drag, change;
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
to;
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
<action name="if">
<maximized>true</maximized>
<then>
<action name="Unmaximize"/>
</then>
</action>
</mousebind>
for dragging the titlebar, change;
<context name="Titlebar">
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
to;
<context name="Titlebar">
<mousebind button="Left" action="Drag">
<action name="Move"/>
<action name="if">
<maximized>true</maximized>
<then>
<action name="Unmaximize"/>
</then>
</action>
</mousebind>