From 5054b38d24ce0c786219934d156613c6994f7d78 Mon Sep 17 00:00:00 2001 From: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Date: Mon, 21 Feb 2022 11:28:58 +0000 Subject: [PATCH] chore: update patches --- ...estore_maximized_windows_when_calling_showinactive.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/chromium/fix_don_t_restore_maximized_windows_when_calling_showinactive.patch b/patches/chromium/fix_don_t_restore_maximized_windows_when_calling_showinactive.patch index 17f355134d0f0..4c2bbea2e5906 100644 --- a/patches/chromium/fix_don_t_restore_maximized_windows_when_calling_showinactive.patch +++ b/patches/chromium/fix_don_t_restore_maximized_windows_when_calling_showinactive.patch @@ -7,10 +7,10 @@ This is a backport from Chromium of https://chromium-review.googlesource.com/c/chromium/src/+/3371573. diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc -index 067861bb743ee2f3c1916794d45efb7dd591b230..6507557bf5a47492343602607e0dbb7d8f88246d 100644 +index 4be0e5b0ef187d68f054672bc3d1dc328057c58b..264a9109e42c23e9be6bf7269b3cfee2634b61e4 100644 --- a/ui/views/win/hwnd_message_handler.cc +++ b/ui/views/win/hwnd_message_handler.cc -@@ -664,9 +664,16 @@ void HWNDMessageHandler::Show(ui::WindowShowState show_state, +@@ -665,9 +665,16 @@ void HWNDMessageHandler::Show(ui::WindowShowState show_state, SetWindowPlacement(hwnd(), &placement); native_show_state = SW_SHOWMAXIMIZED; } else { @@ -28,7 +28,7 @@ index 067861bb743ee2f3c1916794d45efb7dd591b230..6507557bf5a47492343602607e0dbb7d break; case ui::SHOW_STATE_MAXIMIZED: native_show_state = SW_SHOWMAXIMIZED; -@@ -677,9 +684,9 @@ void HWNDMessageHandler::Show(ui::WindowShowState show_state, +@@ -678,9 +685,9 @@ void HWNDMessageHandler::Show(ui::WindowShowState show_state, case ui::SHOW_STATE_NORMAL: if ((GetWindowLong(hwnd(), GWL_EXSTYLE) & WS_EX_TRANSPARENT) || (GetWindowLong(hwnd(), GWL_EXSTYLE) & WS_EX_NOACTIVATE)) {