<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DRI3 rendering gets stuck waiting for present idle notify event"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84252#c54">Comment # 54</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DRI3 rendering gets stuck waiting for present idle notify event"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84252">bug 84252</a>
              from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=116463" name="attach_116463" title="Make _xcb_in_wake_up_next_reader() wake up threads in xcb_wait_for_special_event()">attachment 116463</a> <a href="attachment.cgi?id=116463&action=edit" title="Make _xcb_in_wake_up_next_reader() wake up threads in xcb_wait_for_special_event()">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=84252&attachment=116463'>[review]</a>
Make _xcb_in_wake_up_next_reader() wake up threads in
xcb_wait_for_special_event()

Can someone check if this patch for libxcb also fixes the bug?

This replaces half of Michel's patch, so you would still need this part from
that other patch (this part is already committed to libxcb's git master, so you
could also just test master + this patch):

diff --git a/src/xcb_in.c b/src/xcb_in.c
index 623a0a8..2ce5a56 100644
--- a/src/xcb_in.c
+++ b/src/xcb_in.c
@@ -761,6 +761,7 @@ xcb_generic_event_t
*xcb_wait_for_special_event(xcb_connection_t *c,
         if(!_xcb_conn_wait(c, &se->special_event_cond, 0, 0))
             break;

+    _xcb_in_wake_up_next_reader(c);
     pthread_mutex_unlock(&c->iolock);
     return event;
 }


Thanks for testing</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>