fix: macOS modal focus (#24286)
This commit is contained in:
parent
d9d07c65b2
commit
af4876296c
6 changed files with 35 additions and 10 deletions
|
@ -439,6 +439,11 @@ void NativeWindow::NotifyWindowFocus() {
|
|||
observer.OnWindowFocus();
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowIsKeyChanged(bool is_key) {
|
||||
for (NativeWindowObserver& observer : observers_)
|
||||
observer.OnWindowIsKeyChanged(is_key);
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowShow() {
|
||||
for (NativeWindowObserver& observer : observers_)
|
||||
observer.OnWindowShow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue