AtlatestRepositorysigil-ui
1
/* Generated by wayland-scanner 1.24.0 */3
/*4
* Copyright © 2017 Drew DeVault5
*6
* Permission to use, copy, modify, distribute, and sell this7
* software and its documentation for any purpose is hereby granted8
* without fee, provided that the above copyright notice appear in9
* all copies and that both that copyright notice and this permission10
* notice appear in supporting documentation, and that the name of11
* the copyright holders not be used in advertising or publicity12
* pertaining to distribution of the software without specific,13
* written prior permission. The copyright holders make no14
* representations about the suitability of this software for any15
* purpose. It is provided "as is" without express or implied16
* warranty.17
*18
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS19
* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND20
* FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY21
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES22
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN23
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,24
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF25
* THIS SOFTWARE.26
*/28
#include <stdbool.h>29
#include <stdlib.h>30
#include <stdint.h>31
#include "wayland-util.h"33
#ifndef __has_attribute34
# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */35
#endif37
#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)38
#define WL_PRIVATE __attribute__ ((visibility("hidden")))39
#else40
#define WL_PRIVATE41
#endif43
extern const struct wl_interface wl_output_interface;44
extern const struct wl_interface wl_surface_interface;45
extern const struct wl_interface xdg_popup_interface;46
extern const struct wl_interface zwlr_layer_surface_v1_interface;48
static const struct wl_interface *wlr_layer_shell_unstable_v1_types[] = {49
NULL,50
NULL,51
NULL,52
NULL,53
&zwlr_layer_surface_v1_interface,54
&wl_surface_interface,55
&wl_output_interface,56
NULL,57
NULL,58
&xdg_popup_interface,59
};61
static const struct wl_message zwlr_layer_shell_v1_requests[] = {62
{ "get_layer_surface", "no?ous", wlr_layer_shell_unstable_v1_types + 4 },63
{ "destroy", "3", wlr_layer_shell_unstable_v1_types + 0 },64
};66
WL_PRIVATE const struct wl_interface zwlr_layer_shell_v1_interface = {67
"zwlr_layer_shell_v1", 5,68
2, zwlr_layer_shell_v1_requests,69
0, NULL,70
};72
static const struct wl_message zwlr_layer_surface_v1_requests[] = {73
{ "set_size", "uu", wlr_layer_shell_unstable_v1_types + 0 },74
{ "set_anchor", "u", wlr_layer_shell_unstable_v1_types + 0 },75
{ "set_exclusive_zone", "i", wlr_layer_shell_unstable_v1_types + 0 },76
{ "set_margin", "iiii", wlr_layer_shell_unstable_v1_types + 0 },77
{ "set_keyboard_interactivity", "u", wlr_layer_shell_unstable_v1_types + 0 },78
{ "get_popup", "o", wlr_layer_shell_unstable_v1_types + 9 },79
{ "ack_configure", "u", wlr_layer_shell_unstable_v1_types + 0 },80
{ "destroy", "", wlr_layer_shell_unstable_v1_types + 0 },81
{ "set_layer", "2u", wlr_layer_shell_unstable_v1_types + 0 },82
{ "set_exclusive_edge", "5u", wlr_layer_shell_unstable_v1_types + 0 },83
};85
static const struct wl_message zwlr_layer_surface_v1_events[] = {86
{ "configure", "uuu", wlr_layer_shell_unstable_v1_types + 0 },87
{ "closed", "", wlr_layer_shell_unstable_v1_types + 0 },88
};90
WL_PRIVATE const struct wl_interface zwlr_layer_surface_v1_interface = {91
"zwlr_layer_surface_v1", 5,92
10, zwlr_layer_surface_v1_requests,93
2, zwlr_layer_surface_v1_events,94
};