diff --git a/patches/chromium/feat_unset_window_aspect_ratio_on_linux.patch b/patches/chromium/feat_unset_window_aspect_ratio_on_linux.patch index 6144747aac2c..d51e603cad44 100644 --- a/patches/chromium/feat_unset_window_aspect_ratio_on_linux.patch +++ b/patches/chromium/feat_unset_window_aspect_ratio_on_linux.patch @@ -3,6 +3,13 @@ From: Erick Zhao Date: Thu, 1 Aug 2019 13:40:17 -0700 Subject: feat: unset window aspect ratio on linux +Electron has exposed methods to allow setting the aspect ratio +for a given window, and as a part of that needed to allow users to +reset the aspect ratio. On macOS, we can do this with existing APIs, +but on Linux this was not possible using currently exposed APIs without +this patch. + +Upstreamed at https://chromium-review.googlesource.com/c/chromium/src/+/1895789. diff --git a/ui/base/x/x11_window.cc b/ui/base/x/x11_window.cc index 7df0a3a8ed268e9b2ca1bad8ac5fd35115b98f77..a895defd2b695e2d5b2b4324551adcaac487f588 100644