Re: Writing a layout - where does the p parameter come from?

2009-06-03 Thread Julien Danjou
At 1243975693 time_t, Nathan Huesken wrote: - What is the difference between workarea and geometry? Geometry is the screen geometry, i.e., the number of pixels available from left to right. Workarea is the same thing, but minus the wibox and the client that have struts (i.e. panel like

Re: Writing a layout - where does the p parameter come from?

2009-06-03 Thread Nathan Huesken
Hi, Unfortantly I have little success with this. So I have this function in tag.lua: --- Return the division tree of the tag function getdivisiontree(t) local t = t or selected() local tree tree = getproperty(t, division_tree) or {} if #tree==0 then tree={}

Nur noch wenige Tage Zeit, um die Altersrückstellungen Ihrer privaten Krankenversicherung zu sichern - Jetzt handeln!

2009-06-03 Thread Oxford Business News
Title: Oxford Business News Wenn diese E-Mail nicht richtig angezeigt wird, klicken Sie bitte hier. Nur noch

Re: Writing a layout - where does the p parameter come from?

2009-06-03 Thread Nathan Huesken
from tag.lua function setproperty(tag, prop, value) if not data.tags[tag] then data.tags[tag] = {} -- this is line 304 end data.tags[tag][prop] = value end The getdivisiontree is called from on_arrange. Could it be, that it is called at a time there are

Re: Getting the focused client in tag.lua

2009-06-03 Thread Julien Danjou
At 1244044432 time_t, Nathan Huesken wrote: in it. Can I somehow cat the focused client in tag.lua? Just use capi.client.focus ? Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // The more we fly, the more we

Re: Getting the focused client in tag.lua

2009-06-03 Thread Nathan Huesken
Hi, Unfortantly I also need client.property.get can I also somehow get this over capi? I did not find it in the capi.lua ... On Wed, Jun 03, 2009 at 05:55:31PM +0200, Julien Danjou wrote: At 1244044432 time_t, Nathan Huesken wrote: in it. Can I somehow cat the focused client in tag.lua?