src/vs/workbench/browser/parts/titlebar/menubarControl.ts/MenubarControl/onDidChangeWindowFocus
class MenubarControl:	protected onDidChangeWindowFocus(hasFocus: boolean): void {
		// When we regain focus, update the recent menu items
		if (hasFocus) {
			this.onDidChangeRecentlyOpened();
		}
	}