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




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

    js/main: Add docs to private function
    
    Oh, well...

 js/ui/main.js | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 14a541f0a6..118fd76b8f 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -503,6 +503,12 @@ 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]