Luadoc for awful.mouse.*_under_pointer
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
77d6562e02
commit
851047f6f2
|
@ -28,6 +28,8 @@ module("awful.mouse")
|
|||
client = {}
|
||||
wibox = {}
|
||||
|
||||
--- Get the client object under the pointer.
|
||||
-- @return The client object under the pointer, if one can be found.
|
||||
function client_under_pointer()
|
||||
local obj = capi.mouse.object_under_pointer()
|
||||
if type(obj) == "client" then
|
||||
|
@ -35,6 +37,8 @@ function client_under_pointer()
|
|||
end
|
||||
end
|
||||
|
||||
--- Get the wibox object under the pointer.
|
||||
-- @return The wibox object under the pointer, if one can be found.
|
||||
function wibox_under_pointer()
|
||||
local obj = capi.mouse.object_under_pointer()
|
||||
if type(obj) == "wibox" then
|
||||
|
@ -42,6 +46,8 @@ function wibox_under_pointer()
|
|||
end
|
||||
end
|
||||
|
||||
--- Get the widget under the pointer.
|
||||
-- @return The widget object under the pointer, if it can be found.
|
||||
function widget_under_pointer()
|
||||
local obj, obj2 = capi.mouse.object_under_pointer()
|
||||
if type(obj2) == "widget" then
|
||||
|
|
Loading…
Reference in New Issue