Simon Ser
df69367d92
input/text_input: ensure keyboard is set before sending modifiers
...
Clients get confused when modifier events are sent before the
keymap.
6 months ago
llyyr
469411d484
text_input: don't destroy scene_node twice
9 months ago
Simon Ser
07b0598526
input/text_input: fix dangling listeners
9 months ago
llyyr
d6150b6bb0
input/text_input: parent wlr_box may be uninitialized
9 months ago
Access
7c11c463a3
text_input: Implement input-method popups
...
Co-authored-by: tadeokondrak <me@tadeo.ca>
9 months ago
Alexander Gramiak
d6f279902a
sway/input: don't pass possibly invalid modifiers pointer
...
active_keyboard may be NULL, in which case an invalid pointer could be
passed to wlr_input_method_keyboard_grab_v2_send_modifiers. This
procedure call is unnecessary since wlroots commit 372a52ec "input
method: send modifiers in set_keyboard", so the call can simply be
removed.
Fixes #6836 .
3 years ago
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