Send keyboard_focus only to client surfaces

dev
Benjamin Franzke 14 years ago
parent 758dd3ea55
commit b7c00a4376
  1. 1
      compositor/compositor.c

@ -1471,6 +1471,7 @@ notify_keyboard_focus(struct wl_input_device *device,
update_modifier_state(wd, *k, 1);
}
if (es->surface.client)
wl_input_device_set_keyboard_focus(&wd->input_device,
&es->surface, time);
} else {

Loading…
Cancel
Save