[gnome-flashback/gnome-3-36] monitor-manager: set crtc id also without config



commit 52d33780c51ebc0703c2058c487d66bc27706ab1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jul 7 15:36:27 2020 +0300

    monitor-manager: set crtc id also without config

 backends/gf-monitor-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/backends/gf-monitor-manager.c b/backends/gf-monitor-manager.c
index d6c19cf..06ad255 100644
--- a/backends/gf-monitor-manager.c
+++ b/backends/gf-monitor-manager.c
@@ -1113,7 +1113,7 @@ gf_monitor_manager_handle_get_resources (GfDBusDisplayConfig   *skeleton,
         {
           g_variant_builder_add (&crtc_builder, "(uxiiiiiuaua{sv})",
                                  i, /* ID */
-                                 0,
+                                 (int64_t) crtc->crtc_id,
                                  0,
                                  0,
                                  0,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]