Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: esc not working on Windows during fullscreen #34361

Merged
merged 2 commits into from May 31, 2022

Conversation

codebytere
Copy link
Member

Backport of #34317.

See that PR for details.

Notes: Fixed an issue where pressing escape would not un-fullscreen on Windows or Linux in some circumstances.

@codebytere codebytere requested review from a team as code owners May 26, 2022 19:14
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 26, 2022
@trop trop bot added 18-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels May 26, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 26, 2022
Copy link
Member

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a lint error:

--- a/shell/browser/api/electron_api_web_contents.cc
+++ b/shell/browser/api/electron_api_web_contents.cc
@@ -1328,7 +1328,7 @@
   }
 
   exclusive_access_manager_->fullscreen_controller()->EnterFullscreenModeForTab(
-    requesting_frame, options.display_id);
+      requesting_frame, options.display_id);
 
   SetHtmlApiFullscreen(true);

@codebytere codebytere requested a review from zcbenz May 30, 2022 07:54
@zcbenz zcbenz merged commit 37a422d into 18-x-y May 31, 2022
@zcbenz zcbenz deleted the fix-fullscreen-escape-windows-18 branch May 31, 2022 05:08
@release-clerk
Copy link

release-clerk bot commented May 31, 2022

Release Notes Persisted

Fixed an issue where pressing escape would not un-fullscreen on Windows or Linux in some circumstances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
18-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants