mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-11 23:51:30 -04:00
feat(ipc): add per-client tag event to zdwl_ipc_output_v2 v3
Adds `client` event reporting appid/title/tagmask once per managed client per output during state-update batches. Closes the gap where consumers could see per-tag client counts but not per-tag client identities. Bumps zdwl_ipc_output_v2 interface to v3 and zdwl_ipc_manager_v2 global advertisement to v3. Implementation localized to dwl_ipc_output_printstatus_to in src/ext-protocol/dwl-ipc.h.
This commit is contained in:
parent
b9c6a2c196
commit
33eda01a07
3 changed files with 30 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ I would probably just submit raphi's patchset but I don't think that would be po
|
|||
reset.
|
||||
</description>
|
||||
|
||||
<interface name="zdwl_ipc_manager_v2" version="2">
|
||||
<interface name="zdwl_ipc_manager_v2" version="3">
|
||||
<description summary="manage dwl state">
|
||||
This interface is exposed as a global in wl_registry.
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ I would probably just submit raphi's patchset but I don't think that would be po
|
|||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="zdwl_ipc_output_v2" version="2">
|
||||
<interface name="zdwl_ipc_output_v2" version="3">
|
||||
<description summary="control dwl output">
|
||||
Observe and control a dwl output.
|
||||
|
||||
|
|
@ -128,6 +128,17 @@ I would probably just submit raphi's patchset but I don't think that would be po
|
|||
<arg name="appid" type="string" summary="The new appid."/>
|
||||
</event>
|
||||
|
||||
<event name="client" since="3">
|
||||
<description summary="Reports a client and its tag mask.">
|
||||
Reports a single managed client on this output, with its appid, title,
|
||||
and tag bitmask. Fired once per client per state-update batch, after
|
||||
all tag events and before frame.
|
||||
</description>
|
||||
<arg name="appid" type="string" summary="The client's appid."/>
|
||||
<arg name="title" type="string" summary="The client's title."/>
|
||||
<arg name="tagmask" type="uint" summary="Bitmask of tags this client occupies."/>
|
||||
</event>
|
||||
|
||||
<event name="layout_symbol" since="1">
|
||||
<description summary="Update the current layout symbol">
|
||||
Indicates the layout has changed. Since layout symbols are dynamic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue