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:
Jasper St. Pierre 2014-04-17 18:28:43 -04:00
parent 45a8a3f490
commit 5d43e33032

View File

@ -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