Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/server-decoration-palette.xml
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <protocol name="server_decoration_palette"> | ||||
3 | <copyright><![CDATA[ | ||||
4 | Copyright (C) 2017 David Edmundson | ||||
5 | | ||||
6 | This program is free software: you can redistribute it and/or modify | ||||
7 | it under the terms of the GNU Lesser General Public License as published by | ||||
8 | the Free Software Foundation, either version 2.1 of the License, or | ||||
9 | (at your option) any later version. | ||||
10 | | ||||
11 | This program is distributed in the hope that it will be useful, | ||||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
14 | GNU Lesser General Public License for more details. | ||||
15 | | ||||
16 | You should have received a copy of the GNU Lesser General Public License | ||||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
18 | ]]></copyright> | ||||
19 | <interface name="org_kde_kwin_server_decoration_palette_manager" version="1"> | ||||
20 | l <description summary="server side decoration palette manager interface"> | ||||
21 | This interface allows a client to alter the palette of a server side decoration. | ||||
22 | </description> | ||||
23 | <request name="create"> | ||||
24 | <arg name="id" type="new_id" interface="org_kde_kwin_server_decoration_palette"/> | ||||
25 | <arg name="surface" type="object" interface="wl_surface"/> | ||||
26 | </request> | ||||
27 | </interface> | ||||
28 | <interface name="org_kde_kwin_server_decoration_palette" version="1"> | ||||
29 | <description summary="server side decoration palette interface"> | ||||
30 | This interface allows a client to alter the palette of a server side decoration. | ||||
31 | </description> | ||||
32 | <request name="set_palette"> | ||||
33 | <description summary="Set a on the server side window decoration"> | ||||
34 | Color scheme that should be applied to the window decoration. | ||||
35 | Absolute file path, or name of palette in the user's config directory. | ||||
36 | The server may choose not to follow the requested style. | ||||
37 | </description> | ||||
38 | <arg name="palette" type="string" summary="Absolute file path, or name of palette in the user's config directory"/> | ||||
39 | </request> | ||||
40 | <request name="release" type="destructor"> | ||||
41 | <description summary="release the palette object"/> | ||||
42 | </request> | ||||
43 | </interface> | ||||
44 | </protocol> |