chore: bump chromium to 126.0.6478.114 (31-x-y) (#42584)
* chore: bump chromium in DEPS to 126.0.6478.114
* chore: update patches
* Fix decoration insets getting out-of-sync
5636771
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
3e92b72aef
commit
04b6a162ea
4 changed files with 9 additions and 6 deletions
|
@ -47,8 +47,11 @@ void ElectronDesktopWindowTreeHostLinux::OnWidgetInitDone() {
|
|||
|
||||
gfx::Insets ElectronDesktopWindowTreeHostLinux::CalculateInsetsInDIP(
|
||||
ui::PlatformWindowState window_state) const {
|
||||
// If we are not showing frame, the insets should be zero.
|
||||
if (!native_window_view_->IsFullscreen()) {
|
||||
// If we are not showing frame, or we are not dealing with a
|
||||
// ClientFrameViewLinux the insets should be zero.
|
||||
if (!native_window_view_->IsFullscreen() ||
|
||||
!native_window_view_->has_frame() ||
|
||||
!native_window_view_->has_client_frame()) {
|
||||
return gfx::Insets();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue