wm layouter.config: improve key bindings

Handle the corner case of window cycling where the SCREEN modifier is
released before TAB. Raise focused window regardmess of key release
order.
This commit is contained in:
Norman Feske 2018-04-23 18:29:25 +02:00 committed by Christian Helmuth
parent 9b9eb01097
commit 134b07f41f

View File

@ -2,13 +2,14 @@
<press key="KEY_SCREEN">
<press key="KEY_TAB" action="next_window">
<release key="KEY_TAB">
<release key="KEY_SCREEN" action="raise_window"/>
<release key="KEY_SCREEN" action="raise_window"/>
</release>
<release key="KEY_SCREEN" action="raise_window"/>
</press>
<press key="KEY_LEFTSHIFT">
<press key="KEY_TAB" action="prev_window">
<release key="KEY_TAB">
<release key="KEY_SCREEN" action="raise_window"/>
<release key="KEY_SCREEN" action="raise_window"/>
</release>
</press>
</press>