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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 18 13:53:59 PST 2013


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

Kristian Høgsberg <krh at bitplanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Kristian Høgsberg <krh at bitplanet.net> ---
(In reply to comment #1)
> Created attachment 74985 [details] [review]
> 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?

That sounds right, good analysis.  Committed to master and 1.0 branch, thanks.

-- 
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/20130218/3d8c26f5/attachment.html>


More information about the Wayland-bugs mailing list