1 --- awesome mousegrabber API
2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2008-2009 Julien Danjou
6 --- Grab the mouse pointer and list motions, calling callback function at each
7 -- motion. The callback function must return a boolean value: true to
8 -- continue grabbing, false to stop.
9 -- The function is called with one argument:
10 -- a table containing modifiers pointer coordinates.
11 -- @param func A callback function as described above.
12 -- @param cursor The name of a X cursor to use while grabbing.
16 --- Stop grabbing the mouse pointer.