menubar: skip comments in .desktop files
[awesome.git] / luadoc / mouse.lua
blob7c06b62b576d283d297c2c0b6f13209bc74d0a95
1 --- awesome mouse API
2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2008-2009 Julien Danjou
4 module("mouse")
6 --- Mouse library.
7 -- @field screen Mouse screen number.
8 -- @class table
9 -- @name mouse
11 --- Get or set the mouse coords.
12 -- @param coords_table None or a table with x and y keys as mouse coordinates.
13 -- @param silent Disable mouse::enter or mouse::leave events that could be triggered by the pointer when moving.
14 -- @return A table with mouse coordinates.
15 -- @name coords
16 -- @class function
18 --- Get the client or any object which is under the pointer.
19 -- @return A client or nil.
20 -- @name object_under_pointer
21 -- @class function