qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/9] move set_mouse + cursor_define callbacks


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 3/9] move set_mouse + cursor_define callbacks
Date: Tue, 18 Sep 2012 18:31:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120825 Thunderbird/10.0.7

On 09/18/12 16:10, Stefano Stabellini wrote:
> On Tue, 18 Sep 2012, Gerd Hoffmann wrote:
>> When adding DisplayChangeListeners the set_mouse and cursor_define
>> callbacks have been left in DisplayState for some reason.  Fix it.
>>
>> Signed-off-by: Gerd Hoffmann <address@hidden>
> 
> This patch is good.
> The one thing I don't like is dpy_cursor_define_supported, because it
> enforces the idea that we cannot register/deregister
> DisplayChangeListeners at run time. Theoretically a new
> DisplayChangeListener that support cursor_define could show up at any
> time.

Depends on how it is used.

qxl is fine, it uses dpy_cursor_define_supported only to skip some work
in case nobody cares anyway.

vmware_vga uses it to signal the capability to the guest, which
obviously doesn't fly with displaysurfaces coming & going ...

cheers,
  Gerd




reply via email to

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