<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Clipboard doesn't properly store data of client that closes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60617#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Clipboard doesn't properly store data of client that closes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60617">bug 60617</a>
              from <span class="vcard"><a class="email" href="mailto:rafal.mielniczuk2@gmail.com" title="Rafal Mielniczuk <rafal.mielniczuk2@gmail.com>"> <span class="fn">Rafal Mielniczuk</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=74985" name="attach_74985" title="call wl_data_device_set_keyboard_focus in seat_get_keyboard">attachment 74985</a> <a href="attachment.cgi?id=74985&action=edit" title="call wl_data_device_set_keyboard_focus in seat_get_keyboard">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=60617&attachment=74985'>[review]</a>
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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>