1 /* Generated by wayland-scanner 1.19.0 */
4 * Copyright © 2020 Aleix Pol Gonzalez <aleixpol@kde.org>
5 * Copyright © 2020 Carlos Garnacho <carlosg@gnome.org>
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice (including the next
15 * paragraph) shall be included in all copies or substantial portions of the
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 * DEALINGS IN THE SOFTWARE.
29 #include "wayland-util.h"
31 #ifndef __has_attribute
32 # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */
35 #if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)
36 # define WL_PRIVATE __attribute__((visibility("hidden")))
41 #pragma GCC visibility push(default)
42 extern const struct wl_interface wl_seat_interface
;
43 extern const struct wl_interface wl_surface_interface
;
44 #pragma GCC visibility pop
45 extern const struct wl_interface xdg_activation_token_v1_interface
;
47 static const struct wl_interface
* xdg_activation_v1_types
[] = {
49 &xdg_activation_token_v1_interface
,
51 &wl_surface_interface
,
54 &wl_surface_interface
,
57 static const struct wl_message xdg_activation_v1_requests
[] = {
58 {"destroy", "", xdg_activation_v1_types
+ 0},
59 {"get_activation_token", "n", xdg_activation_v1_types
+ 1},
60 {"activate", "so", xdg_activation_v1_types
+ 2},
63 WL_PRIVATE
const struct wl_interface xdg_activation_v1_interface
= {
64 "xdg_activation_v1", 1, 3, xdg_activation_v1_requests
, 0, NULL
,
67 static const struct wl_message xdg_activation_token_v1_requests
[] = {
68 {"set_serial", "uo", xdg_activation_v1_types
+ 4},
69 {"set_app_id", "s", xdg_activation_v1_types
+ 0},
70 {"set_surface", "o", xdg_activation_v1_types
+ 6},
71 {"commit", "", xdg_activation_v1_types
+ 0},
72 {"destroy", "", xdg_activation_v1_types
+ 0},
75 static const struct wl_message xdg_activation_token_v1_events
[] = {
76 {"done", "s", xdg_activation_v1_types
+ 0},
79 WL_PRIVATE
const struct wl_interface xdg_activation_token_v1_interface
= {
80 "xdg_activation_token_v1", 1, 5,
81 xdg_activation_token_v1_requests
, 1, xdg_activation_token_v1_events
,