> On 26.12.2012 00:00, [email protected] wrote:
> > awesome v3.5 is legendary. Thanks Uli and anyone else who contributed.
>
> You forgot the "wait for it"! :-(

Not awkward if we don't let it be awkward.

> > While porting I noticed one issue. awful.tag.move does not work, or at 
> > least the changes are not reflected by the taglist wibox.
>
> What exactly did you try?

for i,v in ipairs(tag_list) do
    awful.tag.move(i, v)
end

with tag_list being all the tags of a specific screen, newly ordered.

looking at how awful.tag.move is implemented, I also tried

for _,v in pairs(tag_list) do
    awful.tag.setscreen(v, screen)
end

> > I would welcome a helper function which takes a table of tags and a screen 
> > number and exclusively assigns these tags to the screen, in the order 
> > specified by the table. Awesome 3.4.x had such a function, screen.tags(...)
>
> Hm, dunno what happened to screen.tags(). But from its description,
> awful.tag.move() should do just what you want. From its implementation, I 
> wonder
> how it wants to do the reorder part.

Note the documentation for move says

"Move a tag to an absolute position in the screen[]:tags() table."

There is no tags-table in screen any more, though. AFAICS this needs some magic 
down in the c code, to reorder root.tags. Or something like this.

Is there anything I can do to help you guys fix this?

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

Reply via email to