message: Fix a weird focus bug which seems to only occur on Windows with the Command Palette
diff: @@ -267,9 +267,11 @@ function startUpResizeCanary(): void {
  }
  function startUpWindowEvents(): void {
  - // Make sure something sensible is focussed if the window gets the focus.
  - window.addEventListener('focus', () => {
  + // Make sure something sensible is focussed if only the window gets the focus.
  + window.addEventListener('focus', (ev: FocusEvent) => {
  + if (ev.target === window) {
  mainWebUi.focus();
  + }
  });
  window.addEventListener('resize', () => {
  