Skip to content

Commit d25d8ee

Browse files
MarkusVolkRaphael Kubo da Costa
authored andcommitted
chromium-ozone-wayland: Fixed terminate caused by binding to wrong version.
The Ozone/Wayland implementation had a few places where the Wayland objects were bound without proper checking for their versions. That was part of the technical debt not addressed before, and ended up causing the issue explained in the linked crbug: the compositor terminates the client that binds to the protocol that it does not actually support. This patch fixes the issue by adding the necessary checks in all places where they were missing. Also a convenience macro for validating the version is proposed. author Alexander Dunaev https://bugs.chromium.org/p/chromium/issues/detail?id=1279574 Signed-off-by: Markus Volk <f_l_k@t-online.de>
1 parent a25979d commit d25d8ee

File tree

2 files changed

+575
-0
lines changed

2 files changed

+575
-0
lines changed

meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_96.0.4664.110.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ DEPENDS += "\
1212
SRC_URI += "\
1313
file://chromium-wayland/0001-ozone-add-va-api-support-to-wayland.patch \
1414
file://chromium-wayland/0001-ozone-wayland-fix-re-initialization-of-WBMG.patch \
15+
file://chromium-wayland/0001-ozone-wayland-fixed-terminate-caused-by-binding-to-wrong-version.patch \
1516
"
1617

1718
GN_ARGS += "\

0 commit comments

Comments
 (0)