Skip to content
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

Find escape by keysym not keycode #17

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Conversation

pickfire
Copy link
Contributor

Keycode are hard representation of what key was pressed but it may not
be escape keysym.

@9ary
Copy link
Member

9ary commented Mar 25, 2020

Looks good to me, this should indeed have been done from the beginning.
Minor nit: if the layout changes in the middle of a selection, the grab would become incorrect again. To fix that would require handling keymap changes, which is probably not worth it but whatever.

@expectocode
Copy link
Member

Looks fine to me. Just downloaded and ran it and still works on my machine. Who needs automated testing, right?

src/lib/mod.rs Outdated Show resolved Hide resolved
Keycode are hard representation of what key was pressed but it may not
be escape keysym.
@expectocode expectocode merged commit e987de7 into neXromancers:master Mar 25, 2020
@expectocode
Copy link
Member

Thanks!

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.

3 participants