FS#996: awful.ewmh: Connect to property::border_width signal
[awesome.git] / luadoc / mousegrabber.lua
blob77c4bd76277b2e5bfe965de30f0667f5550f6177
1 --- awesome mousegrabber API
2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2008-2009 Julien Danjou
4 module("mousegrabber")
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.
13 -- @name run
14 -- @class function
16 --- Stop grabbing the mouse pointer.
17 -- @param -
18 -- @name stop
19 -- @class function