Skip to content

Commit

Permalink
chore: add patch info for setAspectRatio (#20920)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Nov 1, 2019
1 parent 0fe718b commit 1fed1ed
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ From: Erick Zhao <erickzhao@github.com>
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
Expand Down

0 comments on commit 1fed1ed

Please sign in to comment.