mac: Correctly close popup menu

This commit is contained in:
Cheng Zhao 2018-01-01 15:39:43 +09:00
parent 5f4b62b6c8
commit d7bc127c60
3 changed files with 16 additions and 13 deletions

View file

@ -33,7 +33,7 @@ class MenuMac : public Menu {
private:
friend class Menu;
static void SendActionToFirstResponder(const std::string& action);
void OnClosed(int32_t window_id);
scoped_nsobject<AtomMenuController> menu_controller_;