[Bug 60182] X.Org Server terminate when I close video player

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 10 21:45:06 PDT 2013


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

--- Comment #27 from Weber K. <weberkai at yahoo.com.br> ---
I think Ive got it! :)

Changed this file:
https://github.com/RAOF/xf86-video-ati/blob/master/src/radeon_dri2.c

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

-- 
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/dri-devel/attachments/20130911/c9a987af/attachment.html>


More information about the dri-devel mailing list