upd: 94.0.4606.71 -> 95.0.4638.69

This commit is contained in:
Mikhail Novosyolov 2021-11-04 20:14:07 +03:00
parent 3f70623a71
commit 0be6517888
3 changed files with 48 additions and 6 deletions

View file

@ -1,8 +1,8 @@
sources:
chromium-94.0.4606.71.tar.xz: 494a43e7233041860080eef67604b1b9b1770a19
chromium-gost-63275ec358b1a1c0087dc3af770d18c1d5fe661d.tar.gz: 67349ca44d66bd239b5fca98f2cdc0b7dffa154b
chromium-95.0.4638.69.tar.xz: 155f2c409145cb1a8beb00ae536ccb234680da84
chromium-gost-93d62c39418a448be572d061dbd1d0c886ded2e0.tar.gz: 6b7ee2ad473353ee26a0f666d71b4d5a824c6a80
depot_tools.tar.xz: 082b7f9a4dfa7eb03900755b4866aef2d73543a5
icons.tar.bz2: a835954af164bf38f8ea4ea80608839bed7800a3
msspi-74a19443ca691e1acfee84e6176282e4ec338eac.tar.gz: 82954b8b58005505c32e92d4a8861ea2906f2a9f
msspi-1df40c96e1dfdc6bbe97c321aceae45114a89dd8.tar.gz: c2f9fb6ec24205ab39a58946b2acc72c54ab40a6
new-system-icons.tar.xz: 89339b8b3b05359a8745ed7968fe148902a2fa28
xcb-proto-1.14.1.tar.xz: 836d5b2dd00ff21bd038e92764fda9a256a1b022

View file

@ -0,0 +1,40 @@
From 24a90f9327ac1a4d2b6dbb410cd28f65e3e33839 Mon Sep 17 00:00:00 2001
From: Alexander Dunaev <adunaev@igalia.com>
Date: Mon, 1 Nov 2021 19:29:27 +0000
Subject: [PATCH] [linux/xfce] Set zero insets on maximising the window.
It turned out that Xfwm handles the frame insets not the way KWin and
Mutter do, which causes wrong window size when it is maximised (see the
linked crbug).
This patch resets the frame insets to zero when the window is maximised,
which fixes the behaviour on Xfwm.
Bug: 1260821
Change-Id: I69e71049157c03b74d78bc5edb7a60bf39cdda8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250747
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936990}
---
ui/platform_window/x11/x11_window.cc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ui/platform_window/x11/x11_window.cc b/ui/platform_window/x11/x11_window.cc
index 017ff15a0af1b..dd416c031e7c1 100644
--- a/ui/platform_window/x11/x11_window.cc
+++ b/ui/platform_window/x11/x11_window.cc
@@ -675,6 +675,13 @@ void X11Window::Maximize() {
// save this one for later too.
should_maximize_after_map_ = !window_mapped_in_client_;
+ // Some WMs keep respecting the frame extents even if the window is maximised.
+ // Remove the insets when maximising. The extents will be set again when the
+ // window is restored to normal state.
+ // See https://crbug.com/1260821
+ if (CanSetDecorationInsets())
+ SetDecorationInsets(nullptr);
+
SetWMSpecState(true, x11::GetAtom("_NET_WM_STATE_MAXIMIZED_VERT"),
x11::GetAtom("_NET_WM_STATE_MAXIMIZED_HORZ"));
}

View file

@ -50,8 +50,8 @@
# GOST patches and sources
# Using commit hashes because upstream often puts tags long after making changes
# (they wait for builds to finish to make a new "release" with binary packages)
%define chromium_gost_commit 63275ec358b1a1c0087dc3af770d18c1d5fe661d
%define msspi_commit 74a19443ca691e1acfee84e6176282e4ec338eac
%define chromium_gost_commit 93d62c39418a448be572d061dbd1d0c886ded2e0
%define msspi_commit 1df40c96e1dfdc6bbe97c321aceae45114a89dd8
%define _gostsourcedir %{_builddir}/chromium-gost
%define xcb_version 1.14.1
@ -83,7 +83,7 @@
Summary: A fast web browser based on the Blink engine
Name: chromium-browser-stable
Version: 94.0.4606.71
Version: 95.0.4638.69
Release: 1
License: BSD, LGPL
Group: Networking/WWW
@ -125,6 +125,8 @@ Patch647: ALT-allow-to-override-clang-through-env-variables.patch
# XXX This patch is not enough to fully fix debuginfo and debugsource subpackages
Patch648: fix-debugsource.patch
Patch649: off-java-check.patch
# https://bugs.chromium.org/p/chromium/issues/detail?id=1260821 (already backported to 96)
Patch650: 24a90f9327ac1a4d2b6dbb410cd28f65e3e33839.patch
BuildRequires: bison
BuildRequires: llvm12