diff --git a/src/_macosx.m b/src/_macosx.m index 997744dfbe88..42780f17f824 100644 --- a/src/_macosx.m +++ b/src/_macosx.m @@ -5552,7 +5552,10 @@ - (int)index static PyObject* show(PyObject* self) { - if(nwin > 0) [NSApp run]; + if(nwin > 0) { + [NSApp activateIgnoringOtherApps:YES]; + [NSApp run]; + } Py_INCREF(Py_None); return Py_None; }