2009-08-20 16:18:52 +02:00
|
|
|
--- awesome mouse API
|
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
|
|
module("mouse")
|
|
|
|
|
|
|
|
--- Mouse library.
|
|
|
|
-- @field coords Mouse coordinates.
|
|
|
|
-- @field screen Mouse screen number.
|
|
|
|
-- @class table
|
|
|
|
-- @name mouse
|
|
|
|
|
|
|
|
--- Get or set the mouse coords.
|
|
|
|
-- @param coords_table None or a table with x and y keys as mouse coordinates.
|
2009-10-27 11:18:16 +01:00
|
|
|
-- @param silent Disable mouse::enter or mouse::leave events that could be triggered by the pointer when moving.
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @return A table with mouse coordinates.
|
|
|
|
-- @name coords
|
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Get the client or any object which is under the pointer.
|
|
|
|
-- @param -
|
|
|
|
-- @return A client or nil.
|
|
|
|
-- @name object_under_pointer
|
|
|
|
-- @class function
|