fix: window border on Gnome Wayland (#46624)
This commit is contained in:
parent
24e46849c7
commit
14df4aab83
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void ElectronDesktopWindowTreeHostLinux::UpdateFrameHints() {
|
||||||
if (ui::OzonePlatform::GetInstance()->IsWindowCompositingSupported()) {
|
if (ui::OzonePlatform::GetInstance()->IsWindowCompositingSupported()) {
|
||||||
// Set the opaque region.
|
// Set the opaque region.
|
||||||
std::vector<gfx::Rect> opaque_region;
|
std::vector<gfx::Rect> opaque_region;
|
||||||
if (!IsShowingFrame()) {
|
if (IsShowingFrame()) {
|
||||||
// The opaque region is a list of rectangles that contain only fully
|
// The opaque region is a list of rectangles that contain only fully
|
||||||
// opaque pixels of the window. We need to convert the clipping
|
// opaque pixels of the window. We need to convert the clipping
|
||||||
// rounded-rect into this format.
|
// rounded-rect into this format.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue