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
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={}
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
Hi Nathan,
At 1243891357 time_t, Nathan Huesken wrote:
So I am looking at the tile layout as reference.
It seems, that its parameters are stored in the current tag ...
No I wonder, what would I have to do to get my parameters in.
And I also wonder how I could remember which client belongs
Hello,
Thanks for you answer Julien, now I feel like I am almost there.
2 Questions:
- What is the difference between workarea and geometry?
- OK, I can set simple properties of a tag and a client using
setproperty. But I need something more complex. I need to store a tree
structure telling me
On Tue, Jun 02, 2009 at 10:48:13PM +0200, Nathan Huesken wrote:
[...]
- OK, I can set simple properties of a tag and a client using
setproperty. But I need something more complex. I need to store a tree
structure telling me how the area has been divided.
So I need a root-node object, stored