xdavidwu
e5913f8106
Implement input method keyboard grab
4 years ago
Tadeo Kondrak
c88f7ad1d0
text_input: Only send surrounding_text and content_type if supported
4 years ago
Tadeo Kondrak
b0e8f4ade2
text_input: Ignore text_input disable from unfocused windows
...
Before this commit, there would be cases where focus changes from one
window to another, the new window activates text_input, then the old
window sends a deactivate request, making text_input unfocused
completely.
4 years ago
Andri Yngvason
98eece53ad
input: Clean up input_method_relay in seat_destoy()
...
This fixes a crash that happens when input_method_new or text_method_new
events are emitted after the seat has been freed.
4 years ago
Leo
3c96a1d374
im: Fix crash when im destorying and no focused surface exists
5 years ago
xdavidwu
e6805ce6e9
im: remove listener on pending surface destoryed
5 years ago
xdavidwu
4e1e5e4e33
im: make text-input listeners per text-input
5 years ago
xdavidwu
9d455b48e4
input-method: avoid and log unneeded set_focus
5 years ago
xdavidwu
1241b42c88
input-method: remove surface listener before set
...
This make sure pending focused surface listener is not reachable from
old surface.
5 years ago
xdavidwu
5886187c6e
Port input method and text input from rootston
...
This ports swaywm/wlroots#1203 , swaywm/wlroots#1303 ,
swaywm/wlroots#1308 , swaywm/wlroots#1759 rootston part to sway.
Co-Authored-By: Leo Chen <leo881003@gmail.com>
5 years ago