chase: chase ime break change for wlroots 0.20

refer:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5170#note_3149600
This commit is contained in:
DreamMaoMao 2025-10-17 12:41:34 +08:00
parent ee8ce08bc9
commit bc8d53367f

View file

@ -332,7 +332,8 @@ static void handle_keyboard_grab_destroy(struct wl_listener *listener,
void *data) {
struct dwl_input_method_relay *relay =
wl_container_of(listener, relay, keyboard_grab_destroy);
struct wlr_input_method_keyboard_grab_v2 *keyboard_grab = data;
struct wlr_input_method_keyboard_grab_v2 *keyboard_grab =
relay->input_method->keyboard_grab;
wl_list_remove(&relay->keyboard_grab_destroy.link);
if (keyboard_grab->keyboard) {