31 lines
817 B
Diff
31 lines
817 B
Diff
From b9908ac3d654f6a32ce8ba5d878fb27769374ebd Mon Sep 17 00:00:00 2001
|
|
From: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
Date: Thu, 8 Aug 2024 08:38:32 +0800
|
|
Subject: [PATCH 92/95] HACK: compositor: Force re-assign output when building
|
|
view list
|
|
|
|
For switching primary output in mirror mode.
|
|
|
|
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
---
|
|
libweston/compositor.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/libweston/compositor.c b/libweston/compositor.c
|
|
index 5961ea0..0e39ca3 100644
|
|
--- a/libweston/compositor.c
|
|
+++ b/libweston/compositor.c
|
|
@@ -3743,6 +3743,9 @@ weston_compositor_build_view_list(struct weston_compositor *compositor)
|
|
}
|
|
|
|
view_list_add(compositor, view);
|
|
+
|
|
+ /* HACK: Make sure that all views are assigned */
|
|
+ weston_view_assign_output(view);
|
|
}
|
|
}
|
|
|
|
--
|
|
2.20.1
|
|
|