()
| 87 | } |
| 88 | |
| 89 | onWindowFocus(): void { |
| 90 | const windowFocus = |
| 91 | global.display.get_focus_window() as MetaWindowWithMsProperties; |
| 92 | |
| 93 | if (!windowFocus || !windowFocus.msWindow) return; |
| 94 | |
| 95 | const msWindow = windowFocus.msWindow; |
| 96 | msWindow.focusDialogs(); |
| 97 | this.setFocusToMsWindow(msWindow); |
| 98 | } |
| 99 | |
| 100 | setFocusToMsWindow(msWindow: MsWindow): void { |
| 101 | if (msWindow === this.lastMsWindowFocused) return; |
nothing calls this directly
no test coverage detected