Make getAllDisplays return current displays.

This commit is contained in:
Cheng Zhao 2015-01-16 11:39:25 -08:00
parent b5898d3355
commit 7749484628
2 changed files with 22 additions and 1 deletions

View file

@ -48,6 +48,7 @@ class Screen : public mate::EventEmitter,
private:
gfx::Screen* screen_;
std::vector<gfx::Display> displays_;
DISALLOW_COPY_AND_ASSIGN(Screen);
};