2
* Copyright (C) 2012 Intel Corporation
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation; either version 2 of the
7
* License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20
#ifndef META_WAYLAND_PRIVATE_H
21
#define META_WAYLAND_PRIVATE_H
23
#include <wayland-server.h>
24
#include <clutter/clutter.h>
28
#include "window-private.h"
29
#include <meta/meta-cursor-tracker.h>
31
#include "meta-wayland.h"
32
#include "meta-wayland-versions.h"
33
#include "meta-wayland-surface.h"
34
#include "meta-wayland-seat.h"
35
#include "meta-wayland-pointer-gestures.h"
36
#include "meta-wayland-tablet-manager.h"
38
typedef struct _MetaXWaylandSelection MetaXWaylandSelection;
43
struct wl_resource *resource;
44
MetaWaylandSurface *surface;
45
} MetaWaylandFrameCallback;
53
struct wl_client *client;
54
struct wl_resource *xserver_resource;
57
GCancellable *xserver_died_cancellable;
61
MetaXWaylandSelection *selection_data;
62
} MetaXWaylandManager;
64
struct _MetaWaylandCompositor
66
struct wl_display *wayland_display;
67
const char *display_name;
69
struct wl_list frame_callbacks;
71
MetaXWaylandManager xwayland_manager;
73
MetaWaylandSeat *seat;
74
MetaWaylandTabletManager *tablet_manager;
77
#endif /* META_WAYLAND_PRIVATE_H */