mirror of
https://github.com/glfw/glfw
synced 2026-09-27 00:28:42 +03:00
Add kde-shadow premake Wayland protocol to premake
This commit is contained in:
parent
c4adc293d6
commit
12e77ca200
2 changed files with 72 additions and 1 deletions
70
deps/wayland/kde-shadow.xml
vendored
Normal file
70
deps/wayland/kde-shadow.xml
vendored
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<protocol name="shadow">
|
||||
<copyright><![CDATA[
|
||||
SPDX-FileCopyrightText: 2015 Martin Gräßlin
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
]]></copyright>
|
||||
<interface name="org_kde_kwin_shadow_manager" version="2">
|
||||
<request name="create">
|
||||
<arg name="id" type="new_id" interface="org_kde_kwin_shadow"/>
|
||||
<arg name="surface" type="object" interface="wl_surface"/>
|
||||
</request>
|
||||
<request name="unset">
|
||||
<arg name="surface" type="object" interface="wl_surface"/>
|
||||
</request>
|
||||
<request name="destroy" type="destructor" since="2">
|
||||
<description summary="Destroy the org_kde_kwin_shadow_manager">
|
||||
Destroy the org_kde_kwin_shadow_manager object.
|
||||
</description>
|
||||
</request>
|
||||
</interface>
|
||||
<interface name="org_kde_kwin_shadow" version="2">
|
||||
<request name="commit">
|
||||
</request>
|
||||
<request name="attach_left">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_top_left">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_top">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_top_right">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_right">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_bottom_right">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_bottom">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="attach_bottom_left">
|
||||
<arg name="buffer" type="object" interface="wl_buffer"/>
|
||||
</request>
|
||||
<request name="set_left_offset">
|
||||
<arg name="offset" type="fixed"/>
|
||||
</request>
|
||||
<request name="set_top_offset">
|
||||
<arg name="offset" type="fixed"/>
|
||||
</request>
|
||||
<request name="set_right_offset">
|
||||
<arg name="offset" type="fixed"/>
|
||||
</request>
|
||||
<request name="set_bottom_offset">
|
||||
<arg name="offset" type="fixed"/>
|
||||
</request>
|
||||
<request name="destroy" type="destructor" since="2">
|
||||
<description summary="Destroy the org_kde_kwin_shadow">
|
||||
Destroy the org_kde_kwin_shadow object. If the org_kde_kwin_shadow is
|
||||
still set on a wl_surface the shadow will be immediately removed.
|
||||
Prefer to first call the request unset on the org_kde_kwin_shadow_manager and
|
||||
commit the wl_surface to apply the change.
|
||||
</description>
|
||||
</request>
|
||||
</interface>
|
||||
</protocol>
|
||||
|
|
@ -70,7 +70,8 @@ project "GLFW"
|
|||
"tablet-v2",
|
||||
"xdg-decoration-unstable-v1",
|
||||
"xdg-shell",
|
||||
"xdg-toplevel-drag-v1"
|
||||
"xdg-toplevel-drag-v1",
|
||||
"kde-shadow"
|
||||
}
|
||||
|
||||
for _, protocol in ipairs(protocols) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue