| 1 |
/* |
| 2 |
* Clutter. |
| 3 |
* |
| 4 |
* An OpenGL based 'interactive canvas' library. |
| 5 |
* |
| 6 |
* Copyright (C) 2012 Intel Corporation |
| 7 |
* |
| 8 |
* This library is free software; you can redistribute it and/or |
| 9 |
* modify it under the terms of the GNU Lesser General Public |
| 10 |
* License as published by the Free Software Foundation; either |
| 11 |
* version 2 of the License, or (at your option) any later version. |
| 12 |
* |
| 13 |
* This library is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
* Lesser General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Lesser General Public |
| 19 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
* |
| 21 |
* |
| 22 |
*/ |
| 23 |
|
| 24 |
/** |
| 25 |
* SECTION:clutter-wayland |
| 26 |
* @short_description: Wayland specific API |
| 27 |
* |
| 28 |
* The Wayland backend for Clutter provides some specific API, allowing |
| 29 |
* integration with the Wayland client API for acessing the underlying data |
| 30 |
* structures |
| 31 |
* |
| 32 |
* The Clutter Wayland API is available since Clutter 1.10 |
| 33 |
*/ |
| 34 |
|
| 35 |
#ifndef __CLUTTER_WAYLAND_H__ |
| 36 |
#define __CLUTTER_WAYLAND_H__ |
| 37 |
|
| 38 |
#include <glib.h> |
| 39 |
#include <wayland-client.h> |
| 40 |
#include <clutter/clutter.h> |
| 41 |
G_BEGIN_DECLS |
| 42 |
|
| 43 |
CLUTTER_AVAILABLE_IN_1_10 |
| 44 |
struct wl_seat *clutter_wayland_input_device_get_wl_seat (ClutterInputDevice *device); |
| 45 |
|
| 46 |
CLUTTER_AVAILABLE_IN_1_10 |
| 47 |
struct wl_shell_surface *clutter_wayland_stage_get_wl_shell_surface (ClutterStage *stage); |
| 48 |
|
| 49 |
CLUTTER_AVAILABLE_IN_1_10 |
| 50 |
struct wl_surface *clutter_wayland_stage_get_wl_surface (ClutterStage *stage); |
| 51 |
|
| 52 |
CLUTTER_AVAILABLE_IN_1_16 |
| 53 |
void clutter_wayland_stage_set_wl_surface (ClutterStage *stage, struct wl_surface *surface); |
| 54 |
|
| 55 |
CLUTTER_AVAILABLE_IN_1_16 |
| 56 |
void clutter_wayland_set_display (struct wl_display *display); |
| 57 |
|
| 58 |
CLUTTER_AVAILABLE_IN_1_16 |
| 59 |
void clutter_wayland_disable_event_retrieval (void); |
| 60 |
|
| 61 |
G_END_DECLS |
| 62 |
#endif /* __CLUTTER_WAYLAND_H__ */ |