mirror of
https://github.com/labwc/labwc.git
synced 2026-02-26 01:40:22 -05:00
feat: add "AutoPlace" action
The AutoPlace action will apply placement_find_best() to an active view, moving it to a position on its output that will minimize overlap with other views.
This commit is contained in:
parent
4b6239ee0c
commit
e3cd189769
3 changed files with 20 additions and 1 deletions
|
|
@ -219,6 +219,10 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
*output_name* The name of virtual output. If not supplied, will remove the
|
||||
last virtual output added.
|
||||
|
||||
*<action name="AutoPlace" />*
|
||||
Use the automatic placement policy to move the active window to a
|
||||
position on its output that will minimize overlap with other windows.
|
||||
|
||||
*<action name="None" />*
|
||||
If used as the only action for a binding: clear an earlier defined binding.
|
||||
|
||||
|
|
|
|||
|
|
@ -453,10 +453,14 @@
|
|||
<windowRule title="pcmanfm-desktop*">
|
||||
<skipTaskbar>yes</skipTaskbar>
|
||||
<skipWindowSwitcher>yes</skipWindowSwitcher>
|
||||
<fixedPosition>yes</fixedPosition>
|
||||
<fixedPosition>yes</fixedPosition>
|
||||
<action name="MoveTo" x="0" y="0" />
|
||||
<action name="ToggleAlwaysOnBottom"/>
|
||||
</windowRule>
|
||||
<windowRule identifier="org.qutebrowser.qutebrowser">
|
||||
<action name="ResizeTo" width="1024" y="800" />
|
||||
<action name="AutoPlace"/>
|
||||
</windowRule>
|
||||
</windowRules>
|
||||
-->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue