mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
seat: Don't set the data device key focus on get_keyboard creation
It's not necessary, as we don't use anything from the protocol keyboard at all.
This commit is contained in:
parent
45a8a3f490
commit
5d43e33032
@ -87,10 +87,7 @@ seat_get_keyboard (struct wl_client *client,
|
||||
keyboard->xkb_info.keymap_size);
|
||||
|
||||
if (keyboard->focus_surface && wl_resource_get_client (keyboard->focus_surface->resource) == client)
|
||||
{
|
||||
meta_wayland_keyboard_set_focus (keyboard, keyboard->focus_surface);
|
||||
meta_wayland_data_device_set_keyboard_focus (seat);
|
||||
}
|
||||
meta_wayland_keyboard_set_focus (keyboard, keyboard->focus_surface);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user