[gtk/issue-1961-master: 3/3] Set the monitor's connector under X11
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/issue-1961-master: 3/3] Set the monitor's connector under X11
- Date: Sat, 22 Jun 2019 15:08:01 +0000 (UTC)
commit 1dd6daca65249c72f02e0abf4fecf01e6c13fbbe
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jun 20 16:09:28 2019 +0100
Set the monitor's connector under X11
Like we do on Wayland.
In this case, we copy it from the same source as the output name,
because it's going to match.
gdk/x11/gdkscreen-x11.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 294e1c4338..cda654f04e 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -432,6 +432,7 @@ init_randr15 (GdkX11Screen *x11_screen, gboolean *changed)
gdk_monitor_set_refresh_rate (GDK_MONITOR (monitor), refresh_rate);
gdk_monitor_set_scale_factor (GDK_MONITOR (monitor), x11_screen->surface_scale);
gdk_monitor_set_model (GDK_MONITOR (monitor), name);
+ gdk_monitor_set_connector (GDK_MONITOR (monitor), name);
g_free (name);
if (rr_monitors[i].primary)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]