[mutter] seat: Don't set the data device key focus on get_keyboard creation
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] seat: Don't set the data device key focus on get_keyboard creation
- Date: Thu, 17 Apr 2014 23:17:57 +0000 (UTC)
commit 5d43e330325f3698dac109ae58deb9e78c349cf5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 17 18:28:43 2014 -0400
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.
src/wayland/meta-wayland-seat.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c
index 4498102..27d9ef7 100644
--- a/src/wayland/meta-wayland-seat.c
+++ b/src/wayland/meta-wayland-seat.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]