summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compositor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 6ee3a79f..64d0830f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2306,6 +2306,7 @@ seat_get_keyboard(struct wl_client *client, struct wl_resource *resource,
seat->seat.keyboard->focus->resource.client == client) {
wl_keyboard_set_focus(seat->seat.keyboard,
seat->seat.keyboard->focus);
+ wl_data_device_set_keyboard_focus(&seat->seat);
}
}