electron/shell
Darshan Sen f887000d50
fix: make BrowserWindow#isFocused() return false when blur() is called on macOS (#33734)
The isFocused() method on macOS works by checking if the selected
BrowserWindow is a key window. Unfortunately, this didn't work well
with blur() because it wasn't calling any macOS APIs that would change
the key status of the window. Hence, this changes the implementation of
blur() to call orderOut first, which removes the key
status of the window. Then when the orderBack function is called, it
moves the window to the back of its level in the screen list, without
changing the key window.

Fixes: https://github.com/electron/electron/issues/33732
Signed-off-by: Darshan Sen <raisinten@gmail.com>
2022-05-03 16:39:18 +09:00
..
app build: fix intermittent compilation failures on macOS (#33768) 2022-04-21 17:25:51 +09:00
browser fix: make BrowserWindow#isFocused() return false when blur() is called on macOS (#33734) 2022-05-03 16:39:18 +09:00
common fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
renderer fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
utility chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00