Remove unnecessary focus_invalidated field (#7320)

I believe at some point this was used for tests but it doesn't seem
necessary anymore.

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-02-03 05:41:58 -07:00 committed by GitHub
parent c906fd232d
commit 54aecd21ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 18 deletions

View file

@ -658,7 +658,7 @@ impl AppContext {
.values()
.filter_map(|window| {
let window = window.as_ref()?;
(window.dirty.get() || window.focus_invalidated).then_some(window.handle)
window.dirty.get().then_some(window.handle)
})
.collect::<Vec<_>>()
{