[gnome-shell/wip/carlosg/grabs-pt2: 22/22] js/main: Add docs to private function




commit 1dcc6d1b6b96eddf6c804a3f24a291c2813bdbe4
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jan 29 01:14:56 2022 +0100

    js/main: Add docs to private function
    
    Oh, well...
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

 js/ui/main.js | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 14a541f0a6..6ed34a7cd5 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]