Debian Codegraph @

gdk/wayland/gdkmonitor-wayland.h

raw
1 /*
2 * Copyright © 2016 Red Hat, Inc
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef __GDK_WAYLAND_MONITOR_PRIVATE_H__
19 #define __GDK_WAYLAND_MONITOR_PRIVATE_H__
20
21 #include <glib.h>
22 #include "gdkwaylandmonitor.h"
23 #include "gdkmonitorprivate.h"
24 #include "gdkprivate-wayland.h"
25
26 struct _GdkWaylandMonitor {
27 GdkMonitor parent;
28
29 guint32 id;
30 guint32 version;
31 struct wl_output *output;
32
33 struct zxdg_output_v1 *xdg_output;
34 /* Raw wl_output data */
35 GdkRectangle output_geometry;
36 /* Raw xdg_output data */
37 GdkRectangle xdg_output_geometry;
38 char *name;
39 gboolean wl_output_done;
40 gboolean xdg_output_done;
41 };
42
43 struct _GdkWaylandMonitorClass {
44 GdkMonitorClass parent_class;
45 };
46
47 #endif