Add unfocus action

...to enable unfocusing currently focused window on desktop click.

Works with:

    <mouse>
      <default />
      <context name="Root">
        <mousebind button="Left" action="Press">
          <action name="Unfocus" />
        </mousebind>
      </context>
    </mouse>

Fixes: #1230
This commit is contained in:
Johan Malm 2023-11-07 18:53:27 +00:00 committed by Johan Malm
parent d2bcb94bae
commit 29a228674b
2 changed files with 8 additions and 0 deletions

View file

@ -27,6 +27,9 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="Focus" />*
Give focus to window under cursor.
*<action name="Unfocus" />*
Remove focus from the window that is currently focused.
*<action name="Raise" />*
Restack the current window above other open windows.