[PATCH] dri2: Only send the swap event if the client hasn't gone fishing

Kristian Høgsberg krh at bitplanet.net
Wed May 19 08:40:24 PDT 2010


On Wed, May 19, 2010 at 1:31 AM, Keith Packard <keithp at keithp.com> wrote:
> On Tue, 18 May 2010 16:20:14 -0700, Jamey Sharp <jamey at minilop.net> wrote:
>> On Tue, May 18, 2010 at 3:38 PM, Keith Packard <keithp at keithp.com> wrote:
>> > On Sat, 15 May 2010 14:37:22 -0700, Keith Packard <keithp at keithp.com> wrote:
>> >> Does __glXdriSwapEvent also need to be fixed? Or should we fix
>> >> DRI2SwapComplete instead?
>> >
>> > Still waiting to hear an answer for this question....
>>
>> I'm still waiting to hear whether my patch series that adds this check
>> to WriteEventsToClient instead is a good solution to the problem.
>
> Yes, your fix is exactly the right plan, making this fix irrelevant.

How can we be sure another client hasn't connected in the meantime
getting the id of the client who schedules the swap?

Kristian


More information about the xorg-devel mailing list