]> git.mdlowis.com Git - proto/labwc.git/commit
cycle: update config to <osd output="all|cursor|focused">
authortokyo4j <hrak1529@gmail.com>
Tue, 2 Dec 2025 15:41:04 +0000 (00:41 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 2 Dec 2025 16:09:54 +0000 (17:09 +0100)
commitc4277ab507d17f31dca2a2c24f5b937c750450d8
tree74be02db9eb661635928f3ed2127453eaaf111d7
parent71d29cbebb8e8abae6692fc64d187ae258dad4c9
cycle: update config to <osd output="all|cursor|focused">

I think `<windowSwitcher><osd output="keyboard">` is a bit unclear and
hard to interpret as "show OSD in the output with keyboard focus". Also,
we use "cursor" instead of "pointer" in other configurations like
`<placement policy="cursor">` and `<action name="ShowMenu" atCursor="">`.

So let's replace `output="all|pointer|keyboard"` with
`output="all|cursor|focused"`. In documentation, I reordered them to
`output="all|focused|cursor"` as "focused" feels like a bit more
sophisticated and general policy.
docs/labwc-config.5.scd
include/config/types.h
src/config/rcxml.c
src/cycle/cycle.c