Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M107] wayland: bypass xdg-activation calls during dnd sessions
Gnome Shell xdg-activation implementation seems still buggy/unstable and crashes were observed in Chrome's tab dragging. More specifically when dragging a tab out and dropping it outside of any toplevel surface (eg: on the desktop area), which is addressed in https://crrev.com/c/3913256 Besides that, more crashes were observed when, for example, on repeatedly drags a tab in and out of its source window. Such crashes usually bring the whole desktop session down. In order to overcome these issues, this patches WaylandWindow::Activate to no-op while in drag-and-drop sessions. R=mihlenfeldt@igalia.com (cherry picked from commit c2f09f9) Bug: 1366504 Test: Tested manually by repeatedly dragging Chrome tabs in and out. Change-Id: I66fa0570c86ad666ee6ea35bd4146115bc45511c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3914262 Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Auto-Submit: Nick Yamane <nickdiego@igalia.com> Reviewed-by: Alexander Dunaev <adunaev@igalia.com> Cr-Original-Commit-Position: refs/heads/main@{#1050544} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3917151 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5304@{chromium#145} Cr-Branched-From: 5d7b1fc-refs/heads/main@{#1047731}
- Loading branch information