<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - X.Org Server terminate when I close video player"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60182#c27">Comment # 27</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - X.Org Server terminate when I close video player"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60182">bug 60182</a>
              from <span class="vcard"><a class="email" href="mailto:weberkai@yahoo.com.br" title="Weber K. <weberkai@yahoo.com.br>"> <span class="fn">Weber K.</span></a>
</span></b>
        <pre>I think Ive got it! :)

Changed this file:
<a href="https://github.com/RAOF/xf86-video-ati/blob/master/src/radeon_dri2.c">https://github.com/RAOF/xf86-video-ati/blob/master/src/radeon_dri2.c</a>

Line 1404 from:
        AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0);

Replaced by:
        if (pScrn->scrnIndex == 0) {
        AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0);
        }

The callback is called only once, even if multiple screens! And the error is
gone!
Please, can someone check if it need to be repeated in other parts as well?
If correct, can someone commit it?

Thank you very much! :)
Weber Kai</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>