Path: blob/master/platform/linuxbsd/wayland/godot-embedding-compositor.xml
14772 views
<?xml version="1.0" encoding="UTF-8"?>1<protocol name="godot_embedding_compositor">23<copyright>4Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md).5Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.67Permission is hereby granted, free of charge, to any person obtaining a copy8of this software and associated documentation files (the "Software"), to deal9in the Software without restriction, including without limitation the rights10to use, copy, modify, merge, publish, distribute, sublicense, and/or sell11copies of the Software, and to permit persons to whom the Software is12furnished to do so, subject to the following conditions:1314The above copyright notice and this permission notice shall be included in all15copies or substantial portions of the Software.1617THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR18IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,19FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE20AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER21LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,22OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE23SOFTWARE.24</copyright>2526<interface name="godot_embedding_compositor" version="1">27<description summary="Main control interface for embedding compositor"/>2829<event name="client">30<description summary="A new client connected to the compositor"/>31<arg name="client" type="new_id" interface="godot_embedded_client"/>32<arg name="pid" type="int"/>33</event>34</interface>3536<interface name="godot_embedded_client" version="1">37<description summary="A client connected to the embedded compositor.">38Clients have only a single embedded window at a time, subject to change.39</description>4041<request name="destroy" type="destructor"/>4243<request name="set_embedded_window_rect">44<arg name="x" type="int"/>45<arg name="y" type="int"/>46<arg name="width" type="int"/>47<arg name="height" type="int"/>48</request>4950<request name="set_embedded_window_parent">51<description summary="(Re)map onto an xdg_toplevel"/>52<arg name="parent" type="object" interface="xdg_toplevel" allow-null="true"/>53</request>5455<request name="focus_window"/>5657<request name="embedded_window_request_close"/>5859<event name="disconnected">60<description summary="The client got disconnected from the compositor">61This instance is no longer valid. The compositor shall ignore any62further request except destroy and stop emitting events for this object.63After this event, the client can safely destroy this object.64</description>65</event>6667<event name="window_embedded"/>6869<event name="window_focus_in"/>7071<event name="window_focus_out"/>72</interface>73</protocol>747576