From 1dcc6d1b6b96eddf6c804a3f24a291c2813bdbe4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 29 Jan 2022 01:14:56 +0100 Subject: [PATCH] js/main: Add docs to private function Oh, well... Part-of: --- js/ui/main.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ui/main.js b/js/ui/main.js index 14a541f0a..6ed34a7cd 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -503,6 +503,14 @@ function notifyError(msg, details) { notify(msg, details); } +/** + * _findModal: + * + * @param {Clutter.Grab} grab - grab + * + * Private function. + * + */ function _findModal(grab) { for (let i = 0; i < modalActorFocusStack.length; i++) { if (modalActorFocusStack[i].grab === grab)