void UI::onMultiGesture (float theta, float dist, int32_t numFingers) { if (_restart) return; UIStack stack = _stack; for (UIStackReverseIter i = stack.rbegin(); i != stack.rend(); ++i) { UIWindow* window = *i; if (window->onMultiGesture(theta, dist, numFingers)) return; if (window->isModal() || window->isFullscreen()) return; } debug(LOG_CLIENT, "multi gesture event was not handled"); }