doc: Document that awful.mouse.resize/move use the permission framework.
This commit is contained in:
parent
44301589c4
commit
973671b081
|
@ -177,7 +177,8 @@ end
|
|||
|
||||
--- Move the wibox under the cursor.
|
||||
-- @staticfct awful.mouse.wibox.move
|
||||
--@tparam wibox w The wibox to move, or none to use that under the pointer
|
||||
-- @tparam wibox w The wibox to move, or none to use that under the pointer
|
||||
-- @request wibox geometry mouse.move granted Requests to move the wibox.
|
||||
function mouse.wibox.move(w)
|
||||
w = w or mouse.current_wibox
|
||||
if not w then return end
|
||||
|
|
|
@ -103,6 +103,7 @@ end
|
|||
-- @tparam client client A client.
|
||||
-- @tparam[default=mouse.resize] string context The resizing context.
|
||||
-- @tparam[opt={}] table args A set of `awful.placement` arguments.
|
||||
-- @request wibox geometry mouse.resize granted Requests to resize the wibox.
|
||||
local function handler(_, client, context, args) --luacheck: no unused_args
|
||||
args = args or {}
|
||||
context = context or "mouse.resize"
|
||||
|
|
Loading…
Reference in New Issue