Add prev_layout method to keyboardlayout.new
This works, no idea how or why it ain't an off by one error but all i know is that it works as intended not as expected from the math...
So tests failing, strange math and seemingly nonsensical behaviour regarding an off by one error that doesn't show aside, could ya test this on your awesome configs just to verify that it isn't a case of "works on my machine" because i'm using awesome 4.3 and this does in fact produce the intended behaviour when added into the libraries of other awesomewm setups.
@Aire-One @sclu1034
I don't have a config to test with.
As for "tests failing", you've added a new function, but no test case for it. So there is nothing that could fail to begin with.