diff --git a/atom/browser/api/atom_api_screen.cc b/atom/browser/api/atom_api_screen.cc index c0a955d48fb7..9bfbcbb4bb83 100644 --- a/atom/browser/api/atom_api_screen.cc +++ b/atom/browser/api/atom_api_screen.cc @@ -92,6 +92,7 @@ void Screen::OnDisplayRemoved(const gfx::Display& old_display) { void Screen::OnDisplayMetricsChanged(const gfx::Display& display, uint32_t changed_metrics) { + *FindById(&displays_, display.id()) = display; Emit("display-metrics-changed", display, MetricsToArray(changed_metrics)); }