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

Fix on Xwayland #1

Closed
atx opened this issue Jun 1, 2019 · 4 comments
Closed

Fix on Xwayland #1

atx opened this issue Jun 1, 2019 · 4 comments

Comments

@atx
Copy link
Owner

atx commented Jun 1, 2019

For whichever reason the dynamically generated keymap does not propagate to an application running under Xwayland. This is likely a bug somewhere in sway/wlroots/Xwayland.

@atx
Copy link
Owner Author

atx commented Jun 2, 2019

So, this seems to be a combination of X not accepting keycodes larger than 255 in its keymap and also all inputs getting merged together. Not sure if there is any reasonable fix at the moment.

@emersion
Copy link
Contributor

emersion commented Jul 2, 2021

Maybe related: swaywm/sway#5461 (comment)

atx added a commit that referenced this issue Jul 12, 2021
This seems to fix Xwayland being broken (#1). Fix source:
swaywm/sway#5461 (comment)
@atx
Copy link
Owner Author

atx commented Jul 12, 2021

Maybe related: swaywm/sway#5461 (comment)

Yup, that seems to do the trick. Thanks for noticing.

Leaving open for a while longer, since:

  • Not sure if just doing include "default" for the xkb_compatibility and xkb_types sections won't cause some unforeseen issues down the line
  • It makes xkbcli interactive-x11 crash for some weird reason. Other applications I have tested seem to do fine though, so it may just be a bug in xkbcli

@emersion
Copy link
Contributor

emersion commented Jul 12, 2021

xkbcli interactive-x11 exits because it checks keycode == 9 to look for Esc, which we use for the 3rd character. Fix: xkbcommon/libxkbcommon#253

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

No branches or pull requests

2 participants