about summary refs log tree commit diff
path: root/exwm-xim.el
AgeCommit message (Collapse)AuthorFilesLines
2021-10-30 Merge branch 'tumashu.github.com/master' into externals/exwmAdrián Medraño Calvo1-0/+7
2021-10-29 Update copyright year to 2021Adrián Medraño Calvo1-1/+1
2021-10-25 Add variable indicating XIM buffersFeng Shu1-0/+7
* exwm-xim.el (exwm-xim-buffer-p): New variable. (exwm-xim--handle-forward-event-request): Add exwm-xim-buffer-p
2020-05-10 Make return key work in exwm-ximChris Feng1-1/+2
* exwm-xim.el (exwm-xim--handle-forward-event-request): Send all key events to Emacs while invoking an input method (don't rely on its keymap definition).
2020-02-02 Update copyright year to 2020Chris Feng1-1/+1
2019-08-25 Clear echo area for input methodsChris Feng1-0/+2
* exwm-xim.el (exwm-xim--handle-forward-event-request): exwm-xim enforces `input-method-use-echo-area' but this breaks some input methods. This change clear garbage printed by such input methods.
2019-08-05 Fix detection of modifier keys in Emacs eventsChris Feng1-4/+4
* exwm-input.el (exwm-input--grab-global-prefix-keys) (exwm-input--fake-key): * exwm-xim.el (exwm-xim--handle-forward-event-request): X11 allows multiple combinations of KEYSYM-MODIFIERS to generate a same KEYSYM, thus the result of an Emacs event to KEYSYM-MODIFIERS conversion is not necessarily unique. Previously the result of `xcb:keysyms:event->keysym' is misused as the modifiers returned is actually the ones should be consumed.
2019-06-09 Handle (t . EVENT) format events in exwm-ximChris Feng1-1/+5
* exwm-xim.el (exwm-xim--handle-forward-event-request): Ditto.
2019-06-09 Fix character loss with exwm-ximChris Feng1-50/+57
* exwm-xim.el (exwm-xim--handle-forward-event-request): Events unread can either be reused by input methods or forwarded to X windows as is.
2019-06-02 Fix unreading 'return eventChris Feng1-43/+38
* exwm-xim.el (exwm-xim--event-pending): Drop unused variable. (exwm-xim--handle-forward-event-request): Convert 'return back to ?\n to avoid error.
2019-06-02 Fix auto commit issue with input methodsChris Feng1-64/+74
* exwm-xim.el (exwm-xim--handle-forward-event-request): Factored out from `exwm-xim--on-request' to make auto commit work. With input methods providing candidates the first candidate can be implicitly selected if no further matching is possible. The last event would be stored in `unread-command-events' (at least for `quail-input-method') and should be reused by the input method. (exwm-xim--on-request): Use it.
2019-02-06 Add input method supportChris Feng1-0/+781
; The code is basically refactored from ; https://github.com/ch11ng/exim to get better maintenance. * exwm-xim.el: New module making Emacs's builtin input methods usable for interacting with X windows. * exwm-core.el (exwm--intern-atom): New function for intern X11 atoms. * exwm-input.el (exwm-input--init): * exwm-manage.el (exwm-manage--init): Use it.