At 1228408277 time_t, Gregor Best wrote:
> Agreed, i added a new parameter to client.move, which, if set to true, will
> enable drag and drop to move the client and I added a condition so that the
> move only occurs if no mouse button had been pressed.

I'd really like a version which *only* move to tag, to avoid switching
client when moving the mouse. :)

> How could I then make the association widget <-> tag available to the mouse
> module?

Accessors ? :)

> Good call, i adjusted the code, creating a weak otable however was not
> possible at this moment, because when the table's __mode was either 'k' or 'v'
> or both, it would drop it's content immediately after aquiring it.

My bad: weak table does *not* work with otable().
Weak table is an internal system to Lua.
Doing
c = client.focus
b = client.focus
will return the same 'awesome object' but 2 differents Lua objects.
That's why indexing a table with an awesome object fails, and indexing
in a otable works.
For the very same reason, weak table will fail.
> +                taglist.tags[w[i]] = tags[i]

You're leaking!

-- 
Julien Danjou
// ᐰ <[EMAIL PROTECTED]>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD

Attachment: signature.asc
Description: Digital signature

Reply via email to