Skip to content

Add prev_layout method to keyboardlayout.new #4014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eylles
Copy link

@eylles eylles commented Jul 12, 2025

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...

No, the math for the layout index decreasing does not make the most sense ever
but i stopped questioning it and trying to make the in theory correct math work
and just accepted that this is what produces the expected behaviour, as
whatever happens in the c part of awesome or the x11 side prevents what looks
like an off by one error from happening, or maybe it just makes it work somehow
i honestly got no idea whatsoever why this works as intended nor i want to know
why, all i care is it behaves how i want for all the amounts of layouts i have
tried on my machine...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant