awful.mouse: Fix 4 invalid function names

This commit is contained in:
Emmanuel Lepage Vallee 2016-07-30 15:49:46 -04:00
parent e472339011
commit f20053bb33
1 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ mouse.wibox = {}
-- @return The client object under the pointer, if one can be found. -- @return The client object under the pointer, if one can be found.
-- @see current_client -- @see current_client
function mouse.client_under_pointer() function mouse.client_under_pointer()
util.deprecated("Use mouse.current_client instead of awful.mouse.client_under_pointer()") util.deprecate("Use mouse.current_client instead of awful.mouse.client_under_pointer()")
return mouse.object.get_current_client() return mouse.object.get_current_client()
end end
@ -75,7 +75,7 @@ end
-- @param finished_cb Deprecated, do not use -- @param finished_cb Deprecated, do not use
function mouse.client.move(c, snap, finished_cb) --luacheck: no unused args function mouse.client.move(c, snap, finished_cb) --luacheck: no unused args
if finished_cb then if finished_cb then
util.deprecated("The mouse.client.move `finished_cb` argument is no longer".. util.deprecate("The mouse.client.move `finished_cb` argument is no longer"..
" used, please use awful.mouse.resize.add_leave_callback(f, 'mouse.move')") " used, please use awful.mouse.resize.add_leave_callback(f, 'mouse.move')")
end end
@ -111,7 +111,7 @@ mouse.client.dragtotag = { }
-- @deprecated awful.mouse.client.dragtotag.border -- @deprecated awful.mouse.client.dragtotag.border
-- @param c The client to move -- @param c The client to move
function mouse.client.dragtotag.border(c) function mouse.client.dragtotag.border(c)
util.deprecated("Use awful.mouse.snap.drag_to_tag_enabled = true instead ".. util.deprecate("Use awful.mouse.snap.drag_to_tag_enabled = true instead "..
"of awful.mouse.client.dragtotag.border(c). It will now be enabled.") "of awful.mouse.client.dragtotag.border(c). It will now be enabled.")
-- Enable drag to border -- Enable drag to border
@ -159,7 +159,7 @@ end
-- @treturn number x The horizontal position -- @treturn number x The horizontal position
-- @treturn number y The vertical position -- @treturn number y The vertical position
function mouse.client.corner(c, corner) function mouse.client.corner(c, corner)
util.deprecated( util.deprecate(
"Use awful.placement.closest_corner(mouse) or awful.placement[corner](mouse)".. "Use awful.placement.closest_corner(mouse) or awful.placement[corner](mouse)"..
" instead of awful.mouse.client.corner" " instead of awful.mouse.client.corner"
) )