aboutsummaryrefslogtreecommitdiff
path: root/sway/input/text_input.c
AgeCommit message (Collapse)Author
2024-02-28text_input: don't destroy scene_node twicellyyr
2024-02-23input/text_input: fix dangling listenersSimon Ser
2024-02-20input/text_input: parent wlr_box may be uninitializedllyyr
2024-02-20text_input: Implement input-method popupsAccess
Co-authored-by: tadeokondrak <me@tadeo.ca>
2022-03-04sway/input: don't pass possibly invalid modifiers pointerAlexander Gramiak
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.
2021-03-12Implement input method keyboard grabxdavidwu
2021-02-15text_input: Only send surrounding_text and content_type if supportedTadeo Kondrak
2021-02-15text_input: Ignore text_input disable from unfocused windowsTadeo Kondrak
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.
2021-01-01input: Clean up input_method_relay in seat_destoy()Andri Yngvason
This fixes a crash that happens when input_method_new or text_method_new events are emitted after the seat has been freed.
2020-04-04im: Fix crash when im destorying and no focused surface existsLeo
2020-04-04im: remove listener on pending surface destoryedxdavidwu
2020-04-04im: make text-input listeners per text-inputxdavidwu
2020-04-04input-method: avoid and log unneeded set_focusxdavidwu
2020-04-04input-method: remove surface listener before setxdavidwu
This make sure pending focused surface listener is not reachable from old surface.
2020-04-04Port input method and text input from rootstonxdavidwu
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>