Welcome to awesome bug tracking system.

FS#571 - Remove c:swap()

Attached to Project: awesome
Opened by Julien Danjou (jd) - Wednesday, 05 August 2009, 08:50 GMT
Last edited by Julien Danjou (jd) - Thursday, 19 November 2009, 13:22 GMT
Task Type Evolution Request
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version git/master
Due in Version 4.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Client are exported to Lua via client.get().

This returns a table with all clients. Client can be swapped in that list with c:swap(cc).

This is used to determine the order of rendering in various place, mostly the layout engine.

This should be removed. awful should handle its own internal ordered table of clients. This should remove the need of swapping client in C, and should be anyway faster when setting a client slave (last entry) for example.
This task depends upon

Comment by Uli Schlachter (psychon) - Sunday, 24 February 2013, 13:43 GMT
See  FS#1073  for an example on how this might work.