resize maximized fix

master
Daniel Napora 2023-01-02 21:51:53 +01:00
parent 0a5aa9540c
commit ba820e35fd
1 changed files with 28 additions and 2 deletions

View File

@ -1023,7 +1023,20 @@
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="A-Left">
<action name="Move"/>
<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>
<mousebind action="Press" button="A-Right">
<action name="Focus"/>
@ -1061,7 +1074,20 @@
</context>
<context name="Titlebar">
<mousebind action="Drag" button="Left">
<action name="Move"/>
<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>
<mousebind action="DoubleClick" button="Left">
<action name="ToggleMaximize"/>