Closed wengxt closed 1 year ago
- fcitx::Key returned from keyEvent.key()...
oh didn't know this, but then again, my code to convert a fcitx::KeyEvent to a QKeyEvent is cursed xd
- WAYLAND_SOCKET may be unset by the qt thread...
now i understand what you meant by "this doesn't work on wayland". I never actually tried a setup with fcitx5 running at startup and setting /etc/environment and stuff so i always directly set the env before starting my test app which apparently circumvents this problem.
@GaZaTu you can use keyEvent.rawKey for this.
https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1KeyEventBase.html#a5d8c3cc4c81764f8f5637f94e22fd68b