Commit 5711f2b1 authored by Maksim Sisov's avatar Maksim Sisov Committed by Commit Bot

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/+/1954483Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/master@{#722560}
parent 32d040f0
...@@ -388,7 +388,7 @@ void WaylandWindow::Show(bool inactive) { ...@@ -388,7 +388,7 @@ void WaylandWindow::Show(bool inactive) {
} }
void WaylandWindow::Hide() { void WaylandWindow::Hide() {
if (!is_tooltip_) { if (is_tooltip_) {
tooltip_subsurface_.reset(); tooltip_subsurface_.reset();
} else { } else {
if (child_window_) if (child_window_)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment