js/main: Add docs to private function
Oh, well... Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>
This commit is contained in:
parent
21cc534add
commit
1dcc6d1b6b
@ -503,6 +503,14 @@ function notifyError(msg, details) {
|
|||||||
notify(msg, details);
|
notify(msg, details);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* _findModal:
|
||||||
|
*
|
||||||
|
* @param {Clutter.Grab} grab - grab
|
||||||
|
*
|
||||||
|
* Private function.
|
||||||
|
*
|
||||||
|
*/
|
||||||
function _findModal(grab) {
|
function _findModal(grab) {
|
||||||
for (let i = 0; i < modalActorFocusStack.length; i++) {
|
for (let i = 0; i < modalActorFocusStack.length; i++) {
|
||||||
if (modalActorFocusStack[i].grab === grab)
|
if (modalActorFocusStack[i].grab === grab)
|
||||||
|
Loading…
Reference in New Issue
Block a user