Hi [email protected]'ists,

The relevant code I could find for moving windows was below:

clientbuttons = awful.util.table.join(
    awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
    awful.button({ modkey }, 1, awful.mouse.client.move),
    awful.button({ modkey }, 3, awful.mouse.client.resize))

How does the awful.mouse.client.move(c,snap) work? The api doc[1] says this for 
c,
"c: The client to move, or the focused one if nil."

I'm a Lua novice, but it looks like button is accepting a function handler. 
Button[2],
otoh, does not seem to describe the signal it emits to the handler. I thought 
perhaps
Rules[3] might inform me better, but I still don't know what the a.m.c.move 
call gets passed
for sure, can't find a reference.

[1] http://awesome.naquadah.org/doc/api/modules/awful.mouse.html#client.move
[2] http://awesome.naquadah.org/doc/api/modules/button.html
[3] http://awesome.naquadah.org/doc/api/modules/awful.rules.html

My desire is to modify Awesome such that mouse-move works on the currently 
focused window,
not the currently hovered over window. If anyone can point me towards the path 
to
enlightenment for how to accomplish this, I'd be much appreciated.

-rektide

-- 
To unsubscribe, send mail to [email protected].

Reply via email to