https://bugs.freedesktop.org/show_bug.cgi?id=60617

--- Comment #1 from Rafal Mielniczuk <[email protected]> ---
Created attachment 74985
  --> https://bugs.freedesktop.org/attachment.cgi?id=74985&action=edit
call wl_data_device_set_keyboard_focus in seat_get_keyboard

For me ctrl+v doesn't work for any newly opened client, until I explicitly
activate it with mouse click, but I think both use cases are related.

I investigated a bit, and it is because during first call to
weston_surface_activate wl_seat.focus_resource is not set up, due to
seat_get_keyboard being called later.

Proposed patch calls wl_data_device_set_keyboard_focus in seat_get_keyboard, so
it can send data offer for newly created client.

Or maybe better fix is to somehow delay first weston_surface_activate until
seat_get_keyboard is called first?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to