Re: [PATCH] Rename LAYER_OUTOFSPACE to LAYER_MAX

2009-04-10 Thread Nathan Huesken
How about MAX_LAYER? Or MAX_LAYER_INDEX? On Fri, Apr 10, 2009 at 10:47:25AM +0200, Julien Danjou wrote: At 1239353043 time_t, Uli Schlachter wrote: The name LAYER_OUTOFSPACE suggests that this is a real layer on which windows can be put, but it's only used as an integer which describes

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

2009-06-02 Thread Nathan Huesken
+0200, Julien Danjou wrote: 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

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

2009-06-03 Thread Nathan Huesken
: 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

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

2009-06-03 Thread Nathan Huesken
there are not tags jet, so that the t parameter is nil and selected also returns nil? Does that make sense? Thanks! Nathan On Wed, Jun 03, 2009 at 01:50:10PM +0200, Julien Danjou wrote: At 1244029212 time_t, Nathan Huesken wrote: tag.lua:304: table index is nil What's line 304

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

Re: client.property.set and client.focus

2009-06-04 Thread Nathan Huesken
is on the tag that just has been tiled I do not understand what is happening here :(. Thanks! Nathan On Thu, Jun 04, 2009 at 08:07:19AM +0200, Julien Danjou wrote: At 1244053920 time_t, Nathan Huesken wrote: I am expecting client.focus to have another property at another point, but I think

Re: client.property.set and client.focus

2009-06-04 Thread Nathan Huesken
Good Idea! If i just bind print(client.focus.class) to a key in my rc.lua, it gives me the correct client class. But if I put a function in my modul, which simple does the same, then the output is nil. On Thu, Jun 04, 2009 at 09:32:02AM +0200, Julien Danjou wrote: At 1244098372 time_t, Nathan

Re: client.property.set and client.focus

2009-06-04 Thread Nathan Huesken
client.focus.id is also nil I found a workaround for me. I give client.focus as a argument to the function, than it works But I still do not understand it :) On Thu, Jun 04, 2009 at 10:28:26AM +0200, Julien Danjou wrote: At 1244103837 time_t, Nathan Huesken wrote: Good Idea! If i just bind

Ordering of clients in a tab

2009-06-04 Thread Nathan Huesken
Hi, I currently wondering how to connect clients with tiles in manual tiling I would appreciate some insight, into the following things: The data structures have to be changed when a new client enters the the tag and/or when a client leaves the tag. Is there a hook for this? manage und umanage