[Wayland-bugs] [Bug 60617] Clipboard doesn't properly store data of client that closes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 17 06:58:10 PST 2013


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

--- Comment #1 from Rafal Mielniczuk <rafal.mielniczuk2 at gmail.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130217/2058e2e5/attachment.html>


More information about the Wayland-bugs mailing list