summarylogtreecommitdiffstats
path: root/0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch
diff options
context:
space:
mode:
authorDaniel Playfair Cal2020-01-12 01:15:04 +1100
committerDaniel Playfair Cal2020-01-12 01:17:55 +1100
commit849fc03d9e5cf971762a366fcda21b8fba156864 (patch)
tree44b4fb65c1d3f4d22afcc288accbaa4810ec48a0 /0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch
parentb26c568927542ce7d5084c654382c51fea251f75 (diff)
downloadaur-849fc03d9e5cf971762a366fcda21b8fba156864.tar.gz
80.0.3987.42
Diffstat (limited to '0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch')
-rw-r--r--0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch b/0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch
new file mode 100644
index 000000000000..2e6b2a4b770c
--- /dev/null
+++ b/0004-ozone-wayland-Fix-regression-with-hiding-nested-wind.patch
@@ -0,0 +1,33 @@
+From 738a0d76c3102509e052927e49f978b197bc3a3c Mon Sep 17 00:00:00 2001
+From: Maksim Sisov <msisov@igalia.com>
+Date: Fri, 6 Dec 2019 19:19:30 +0000
+Subject: [PATCH 4/9] ozone/wayland: Fix regression with hiding nested windows.
+
+It must be non-tooltip that closes children windows.
+
+Bug: 1028046
+Change-Id: I9b5212873cb2c1a4179a28e915edd5fe84b29c5e
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1954483
+Reviewed-by: Michael Spang <spang@chromium.org>
+Commit-Queue: Maksim Sisov <msisov@igalia.com>
+Cr-Commit-Position: refs/heads/master@{#722560}
+---
+ ui/ozone/platform/wayland/host/wayland_window.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ui/ozone/platform/wayland/host/wayland_window.cc b/ui/ozone/platform/wayland/host/wayland_window.cc
+index 709fb681f7d9..1f8cc423d4aa 100644
+--- a/ui/ozone/platform/wayland/host/wayland_window.cc
++++ b/ui/ozone/platform/wayland/host/wayland_window.cc
+@@ -247,7 +247,7 @@ void WaylandWindow::Show(bool inactive) {
+ }
+
+ void WaylandWindow::Hide() {
+- if (!is_tooltip_) {
++ if (is_tooltip_) {
+ tooltip_subsurface_.reset();
+ } else {
+ if (child_window_)
+--
+2.24.1
+