[gnome-shell/wip/carlosg/grabs-pt2] 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] js/main: Add docs to private function
- Date: Sat, 29 Jan 2022 00:32:51 +0000 (UTC)
commit fe79d0f7b0604326d5c0e41f6e044539e77fac5b
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 | 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]