ozone/wayland: Fix crashes when primary selection is not available
Segfaults were observed when running under Wayland compositors that do not advertise primary selection protocol extension objects. For now, Ozone/Wayland supports only gtk_primary_selection version 1, which is likely not available in some compositors, such as, weston, sway, etc. This fixes the crashes by properly handling cases where the gtk primary selection protocol objects are not in place. R=msisov@igalia.com Bug: 1064410 Change-Id: Ia90b423208e64919f717442309a4c92cdb6749a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2118237Reviewed-by:Maksim Sisov <msisov@igalia.com> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#753161}
Showing
Please register or sign in to comment