[gnome-shell/wip/carlosg/grabs-pt2: 23/23] js/main: Add docs to private function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/grabs-pt2: 23/23] js/main: Add docs to private function
- Date: Sat, 29 Jan 2022 00:16:41 +0000 (UTC)
commit 29118600d91bd302c1251478ea2678d6a86c5bb4
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]