Merge branch 'xdgoutputscale' into 'main'

xdg_output: add an output scale_factor event to provide explicit output fractional scale info

See merge request wayland/wayland-protocols!297
This commit is contained in:
Volodymyr Zolotopupov 2026-01-22 21:53:53 +00:00
commit eb46ccb52f

View file

@ -54,7 +54,7 @@
reset.
</description>
<interface name="zxdg_output_manager_v1" version="3">
<interface name="zxdg_output_manager_v1" version="4">
<description summary="manage xdg_output objects">
A global factory interface for xdg_output objects.
</description>
@ -77,7 +77,7 @@
</request>
</interface>
<interface name="zxdg_output_v1" version="3">
<interface name="zxdg_output_v1" version="4">
<description summary="compositor logical output region">
An xdg_output describes part of the compositor geometry.
@ -218,5 +218,17 @@
<arg name="description" type="string" summary="output description"/>
</event>
<!-- Version 4 additions -->
<event name="scale_factor" since="4">
<description summary="output scale factor">
This event contains output scaling factor information.
It may be sent after binding the output object or if the
output scale changes later. If it is not sent,
the client should rely on the fixed point scale of the wl_output.
</description>
<arg name="scale_8_24" type="uint" summary="scale factor"/>
</event>
</interface>
</protocol>