qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] git bisect results


From: Jan Kiszka
Subject: Re: [Qemu-devel] git bisect results
Date: Fri, 27 Jan 2012 23:52:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2012-01-26 14:10, Erik Rull wrote:
> I assume from these results that the gui_grab is never set to 1 when having 
> entered the window in windowed mode with the cursor.
> 
> Maybe that's why the sdl_grab_start() is called so often.
> 
> It seems that the condition in sdl_grab_start() 
> (SDL_WM_GrabInput(SDL_GRAB_ON) 
> == SDL_GRAB_ON) is never fulfilled, otherwise the gui_grab would be set to 1. 
> But the cursor is actually grabbed in windowed mode, otherwise I would not be 
> able to click somewhere with the guest-windows-cursor.

This might be a SDL limitation which does not show up everywhere. Here
it's fine e.g.

The logic dates back to "Handle SDL grabs failing (Mark McLoughlin)",
6bb816031f. Maybe we can solve that issue without relying on the
obviously unreliable return value. Need to reproduce that one as well,
though.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]