| Index: examples/nesting_app/nesting_app.cc
|
| diff --git a/examples/nesting_app/nesting_app.cc b/examples/nesting_app/nesting_app.cc
|
| index 5b00f6d6331b8843394fef9c084d7a27a2f86a73..065d6295261e34f85c3dd41127dd470a4ec261a6 100644
|
| --- a/examples/nesting_app/nesting_app.cc
|
| +++ b/examples/nesting_app/nesting_app.cc
|
| @@ -84,7 +84,7 @@ class NestingApp
|
| nested_ = NULL;
|
| }
|
| void OnViewInputEvent(View* view, const EventPtr& event) override {
|
| - if (event->action == EVENT_TYPE_MOUSE_RELEASED)
|
| + if (event->action == EVENT_TYPE_POINTER_UP)
|
| window_manager_->CloseWindow(view->id());
|
| }
|
|
|
|
|