Mmh, you are right. None of the clients in the list equal client.focus. I have started awesome, I have stayed in one tag, I have only one screen. I started 3 clients.
- client.focus is not nil - I can the 3 clients in on_arrange - None of them is equal to client.focus So where is client.focus pointing? My problem is this: - In the tiling algo, I set a property to every client (the leaf they are in) - When I want to split a leaf, I want to split the leaf the focused client is in - But the focused client does not have the "leaf" property - But it must have been tiled, the focused client 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 that the problem can be simplified to this. > > Because at that time, it's possible that no client has focus yet. > It's even possible that the client that have focus is on another screen. > > Cheers, > -- > Julien Danjou > // ᐰ <jul...@danjou.info> http://julien.danjou.info > // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD > // When I get sad, I stop being sad and be awesome instead. True story. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.