doc: Add factory param to other spawn functions

This commit is contained in:
James Reed 2019-05-08 15:59:02 -06:00
parent 06d8b20405
commit be26d532c3
No known key found for this signature in database
GPG Key ID: 8F79994F6B8378C1
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,7 @@ setmetatable(launch.spawn, {__call = function (_, ...) spawn(...) end})
-- @param args.pwd Pathname to the working directory for new clients.
-- @param args.timeout Seconds after which to stop waiting for a client to spawn.
-- @param args.callback Function to call with client when it spawns.
-- @param args.factory The factory to use (see wm-launch's -f flag).
-- @param args.filter Function to filter clients that are considered.
-- @return The client's ID.
-- @function spawn.single_instance
@ -163,6 +164,7 @@ end
-- @param args.pwd Pathname to the working directory for new clients.
-- @param args.timeout Seconds after which to stop waiting for a client to spawn.
-- @param args.callback Function to call with client when it spawns.
-- @param args.factory The factory to use (see wm-launch's -f flag).
-- @param args.filter Function to filter clients that are considered.
-- @return The client's ID.
-- @function spawn.raise_or_spawn