On Thu, Jan 22, 2015 at 5:46 AM, Tycho Andersen <[email protected]> wrote:
>
>> 2- Somehow, most layouts implement cmd_up and _down, although it's not
>> mandatory.  Is there an expected semantics behind that, that would make it
>> abnormal for layouts to not implement them?  In particular, some layouts
>> change the window order on _up and _down, while the others don't.
>
> I think those should mostly just mean "go to the next window, for
> whatever value of next makes sense for this layout". The fact that
> some layouts implement this by actually changing their own client list
> is probably just because most of the layouts were written by different
> people. Any efforts to synchronize this would be much appreciated :)

Just to clarify myself; I was wondering about the difference between
_previous, _next and _up, _down, *not* about cmd_next and
cmd_previous, which to me indeed have a meaning of "go to the next
layout."  Although _up and _down DO make sense in some layouts, some
others seem to implement it just as a convenience for key bindings.
This is probably bad practice, and a slippery slope.  ("My new Layout
has a cmd_next_depth method! Now I want all layouts to have it!" :) )

I already have some patches towards a more uniform layout structure,
together with a handful of changes that may be considered
improvements.  I'll push that forward before the end of the month.

Happy hacking;
M.

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to