<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Clipboard doesn't properly store data of client that closes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60617">bug 60617</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Clipboard doesn't properly store data of client that closes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60617#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 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:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=60617#c1">comment #1</a>)
<span class="quote">> 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> [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?</span >

That sounds right, good analysis.  Committed to master and 1.0 branch, thanks.</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>