2013-01-23 21:20:05 +00:00
|
|
|
/* GDK - The GIMP Drawing Kit
|
|
|
|
* Copyright (C) 2013 Jan Arne Petersen
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2013-01-23 21:20:05 +00:00
|
|
|
|
2019-11-27 13:33:43 +00:00
|
|
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
2019-11-18 08:31:38 +00:00
|
|
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
2013-01-23 21:20:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
|
|
|
|
#include <wayland-client.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2019-11-27 13:33:43 +00:00
|
|
|
#ifdef GTK_COMPILATION
|
2018-03-20 10:40:08 +00:00
|
|
|
typedef struct _GdkWaylandSurface GdkWaylandSurface;
|
2013-01-23 21:20:05 +00:00
|
|
|
#else
|
2018-03-20 10:40:08 +00:00
|
|
|
typedef GdkSurface GdkWaylandSurface;
|
2013-01-23 21:20:05 +00:00
|
|
|
#endif
|
|
|
|
|
2018-03-20 10:40:08 +00:00
|
|
|
#define GDK_TYPE_WAYLAND_SURFACE (gdk_wayland_surface_get_type())
|
|
|
|
#define GDK_WAYLAND_SURFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WAYLAND_SURFACE, GdkWaylandSurface))
|
|
|
|
#define GDK_IS_WAYLAND_SURFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_SURFACE))
|
2020-09-19 17:05:57 +00:00
|
|
|
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2018-03-20 10:40:08 +00:00
|
|
|
GType gdk_wayland_surface_get_type (void);
|
2013-01-23 21:20:05 +00:00
|
|
|
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2018-03-20 14:14:10 +00:00
|
|
|
struct wl_surface *gdk_wayland_surface_get_wl_surface (GdkSurface *surface);
|
2013-01-23 21:20:05 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|