summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-01-04 16:44:25 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-01-07 02:07:11 +0900
commit576d49b3da1c5aa4c081f5001670da67a8480723 (patch)
tree213866e399ef40211a2995bd68b0927a351b3003
parent5e20dda43e838a2f3b5f32d25b7949ec48fa1a9a (diff)
Fix wayland-backend bug with more than 2 outputssandbox/ruke47/ces2020_803
Change-Id: I4fd788ad6bf630b5182d023228bf028feadf4fc5 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r--meta-agl-profile-graphical/recipes-graphics/wayland/weston/9999-fix-screen-update-issue-of-wayland-backend.patch13
-rw-r--r--meta-agl-profile-graphical/recipes-graphics/wayland/weston_6.0.0.bbappend1
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston/9999-fix-screen-update-issue-of-wayland-backend.patch b/meta-agl-profile-graphical/recipes-graphics/wayland/weston/9999-fix-screen-update-issue-of-wayland-backend.patch
new file mode 100644
index 000000000..f6cd7a95a
--- /dev/null
+++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston/9999-fix-screen-update-issue-of-wayland-backend.patch
@@ -0,0 +1,13 @@
+diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c
+index 6e6529ef..a60bf7f6 100644
+--- a/libweston/compositor-wayland.c
++++ b/libweston/compositor-wayland.c
+@@ -2551,7 +2551,7 @@ registry_handle_global(void *data, struct wl_registry *registry, uint32_t name,
+ b->parent.compositor =
+ wl_registry_bind(registry, name,
+ &wl_compositor_interface,
+- MIN(version, 4));
++ 1);
+ } else if (strcmp(interface, "xdg_wm_base") == 0) {
+ b->parent.xdg_wm_base =
+ wl_registry_bind(registry, name,
diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston_6.0.0.bbappend b/meta-agl-profile-graphical/recipes-graphics/wayland/weston_6.0.0.bbappend
index 380cfd5d3..d074251c3 100644
--- a/meta-agl-profile-graphical/recipes-graphics/wayland/weston_6.0.0.bbappend
+++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston_6.0.0.bbappend
@@ -5,6 +5,7 @@ SRC_URI_append = "\
file://use-XDG_RUNTIMESHARE_DIR.patch \
file://0003-compositor-drm-introduce-drm_get_dmafd_from_view.patch \
file://0001-compositor-wayland-Disable-frame-repaint.patch \
+ file://9999-fix-screen-update-issue-of-wayland-backend.patch \
"
# Disabled until SPEC-2827 H3ULCB v3.0 + Kingfisher issue is debugged:
# file://0002-compositor-add-output-type-to-weston_output.patch