wl-mitm/proto/treeland-output-manager-v1.xml
Peter Cai 76f4ae4a73 Include all known protocols from wayland-explorer
Also adjust the build scripts so that we don't just export one big Rust
file...
2025-03-02 18:19:23 -05:00

31 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<protocol name="treeland_output_manager_v1">
<copyright><![CDATA[
SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: MIT
]]></copyright>
<interface name="treeland_output_manager_v1" version="1">
<description summary="expose which is the primary display">
Protocol for telling which is the primary display among the selection of enabled
outputs.
</description>
<request name="set_primary_output" since="1">
<description summary="Select which primary output to use" />
<arg name="output" type="string" allow-null="false" />
</request>
<event name="primary_output">
<description summary="Provide the current primary output's name">
Specifies which output is the primary one identified by their name.
</description>
<arg name="output_name" type="string" summary="the name of the output" />
</event>
<request name="destroy" type="destructor" since="1">
<description summary="Destroy the primary output notifier." />
</request>
</interface>
</protocol>