From d18188f505992c5542ce744be14e00e78afd3e52 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 11 Jan 2022 18:34:55 -0500 Subject: chromium 99.0.4818.0 (testing, with clang) --- .../chromium/files/chromium-99-dnd-3381679.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 www-client/chromium/files/chromium-99-dnd-3381679.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-99-dnd-3381679.patch b/www-client/chromium/files/chromium-99-dnd-3381679.patch new file mode 100644 index 0000000..06f1736 --- /dev/null +++ b/www-client/chromium/files/chromium-99-dnd-3381679.patch @@ -0,0 +1,19 @@ +diff --git a/ui/platform_window/x11/x11_topmost_window_finder.cc b/ui/platform_window/x11/x11_topmost_window_finder.cc +index e20bf0abf..c9c672c60 100644 +--- a/ui/platform_window/x11/x11_topmost_window_finder.cc ++++ b/ui/platform_window/x11/x11_topmost_window_finder.cc +@@ -42,12 +42,12 @@ bool EnumerateChildren(ShouldStopIteratingCallback should_stop_iterating, + // reverse-iterate the list to check the windows from top-to-bottom. + std::vector::reverse_iterator iter; + for (iter = windows.rbegin(); iter != windows.rend(); iter++) { +- if (IsWindowNamed(*iter) && should_stop_iterating.Run(*iter)) +- return true; + if (depth < max_depth) { + if (EnumerateChildren(should_stop_iterating, *iter, max_depth, depth + 1)) + return true; + } ++ if (IsWindowNamed(*iter) && should_stop_iterating.Run(*iter)) ++ return true; + } + + return false; -- cgit v1.2.3