From 14df4aab83bb016e5195d8d2076e9a7ef09b7ccf Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 15 Apr 2025 15:45:33 +0200 Subject: [PATCH] fix: window border on Gnome Wayland (#46624) --- shell/browser/ui/electron_desktop_window_tree_host_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/ui/electron_desktop_window_tree_host_linux.cc b/shell/browser/ui/electron_desktop_window_tree_host_linux.cc index c58e7726e903..7e8f06c2b1ce 100644 --- a/shell/browser/ui/electron_desktop_window_tree_host_linux.cc +++ b/shell/browser/ui/electron_desktop_window_tree_host_linux.cc @@ -195,7 +195,7 @@ void ElectronDesktopWindowTreeHostLinux::UpdateFrameHints() { if (ui::OzonePlatform::GetInstance()->IsWindowCompositingSupported()) { // Set the opaque region. std::vector opaque_region; - if (!IsShowingFrame()) { + if (IsShowingFrame()) { // The opaque region is a list of rectangles that contain only fully // opaque pixels of the window. We need to convert the clipping // rounded-rect into this format.