mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
a9880a6c89
Signed-off-by: Julien Danjou <julien@danjou.info>
18 lines
597 B
Lua
18 lines
597 B
Lua
--- awesome mousegrabber API
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
module("mousegrabber")
|
|
|
|
--- Grab the mouse pointer and list motions, calling callback function at each
|
|
-- motion. The callback function must return a boolean value: true to
|
|
-- continue grabbing, false to stop.
|
|
-- The function is called with one argument:
|
|
-- a table containing modifiers pointer coordinates.
|
|
-- @param func A callback function as described above.
|
|
-- @name run
|
|
-- @class function
|
|
|
|
--- Stop grabbing the mouse pointer.
|
|
-- @param -
|
|
-- @name stop
|
|
-- @class function
|