]> git.mdlowis.com Git - proto/labwc.git/commit
window-rules: support matchOnce attribute
authorJohan Malm <jgm323@gmail.com>
Wed, 7 Jun 2023 20:44:38 +0000 (21:44 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 26 Jun 2023 05:04:07 +0000 (06:04 +0100)
commit41de529fff2f746807049489e42a1ca5e9cd003e
treee6b3f089da18cfa6094d2e73720a5ea4d666b020
parentf6c3a3d7c3b75975ffbff00945d83d4ed038f079
window-rules: support matchOnce attribute

...allowing a rule to be applied to only the first window matching a
particular criteria. For example, the following can be used to apply a
window rule to lxqt-panel but not its configuration window with the same
app_id:

    <windowRules>
      <windowRule identifier="lxqt-panel" matchOnce="true">
        <skipTaskbar>yes</skipTaskbar>
        <action name="MoveTo" x="0" y="0" />
        <action name="ToggleAlwaysOnTop"/>
      </windowRule>
    </windowRules>
docs/labwc-config.5.scd
docs/rc.xml.all
include/window-rules.h
src/config/rcxml.c
src/window-rules.c