Merge branch 'work/validate-bitfield' into 'main'

scanner: warn on value 0 in bitfields

See merge request wayland/wayland!484
This commit is contained in:
Xaver Hugl 2026-02-03 01:21:47 +00:00
commit cbdab0add4
3 changed files with 15 additions and 2 deletions

View file

@ -1104,7 +1104,7 @@
or drags initiated with other buttons than BTN_LEFT to specific
actions (e.g. "ask").
</description>
<entry name="none" value="0" summary="no action"/>
<entry name="none" value="0" summary="no action" valid-zero="true"/>
<entry name="copy" value="1" summary="copy action"/>
<entry name="move" value="2" summary="move action"/>
<entry name="ask" value="4" summary="ask action"/>
@ -1183,7 +1183,7 @@
use this information to adapt its behavior, e.g. choose
an appropriate cursor image.
</description>
<entry name="none" value="0" summary="no edge"/>
<entry name="none" value="0" summary="no edge" valid-zero="true"/>
<entry name="top" value="1" summary="top edge"/>
<entry name="bottom" value="2" summary="bottom edge"/>
<entry name="left" value="4" summary="left edge"/>