fix: chase text input to wlroots 0.20

This commit is contained in:
DreamMaoMao 2025-09-09 09:28:19 +08:00
parent 5e91989846
commit b5a80d1e8d

View file

@ -332,8 +332,7 @@ 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 =
relay->input_method->keyboard_grab;
struct wlr_input_method_keyboard_grab_v2 *keyboard_grab = data;
wl_list_remove(&relay->keyboard_grab_destroy.link);
if (keyboard_grab->keyboard) {