summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkmonitor-wayland.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-06-20 15:55:58 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-06-24 15:38:36 +0100
commita5f22897f9b4c12ca0775a44b80edd4f9c4a9adb (patch)
tree8cc0f03ebaba8b8b2d874f5ae5f0080f3f515835 /gdk/wayland/gdkmonitor-wayland.h
parent03840fb68778a5278652d338697153a4dc9e87a8 (diff)
downloadgtk+-a5f22897f9b4c12ca0775a44b80edd4f9c4a9adb.tar.gz
Relay the xdg_output.name to GdkMonitor
The xdg_output v2 interface has a `name` property that reflects the output name coming from the compositor. This is the closest thing we can get to a connector name.
Diffstat (limited to 'gdk/wayland/gdkmonitor-wayland.h')
-rw-r--r--gdk/wayland/gdkmonitor-wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/wayland/gdkmonitor-wayland.h b/gdk/wayland/gdkmonitor-wayland.h
index 593ab1d85c..69592bd28a 100644
--- a/gdk/wayland/gdkmonitor-wayland.h
+++ b/gdk/wayland/gdkmonitor-wayland.h
@@ -37,6 +37,7 @@ struct _GdkWaylandMonitor {
int32_t y;
int32_t width;
int32_t height;
+ char *name;
gboolean wl_output_done;
gboolean xdg_output_done;
};