[Spice-devel] [PATCH spice-gtk] RFC: release pointer grab on grab-broken
Hans de Goede
hdegoede at redhat.com
Wed Mar 27 06:57:22 PDT 2013
Hi,
On 03/27/2013 01:57 PM, Marc-André Lureau wrote:
> On Wed, Mar 27, 2013 at 1:52 PM, Hans de Goede <hdegoede at redhat.com> wrote:
>> Really a function named try_keyboard_ungrab, should not touch the
>> mouse_grab, it is as simple as that.
>
> This argument doesn't hold. If you prefer I rename it to
> "ungrab_keyboard_and_pointer" for example.
>
> Having only a pointer grab is a non-desirable behaviour, as shown by
> the above related bugs. Can you explain in which case it's desirable?
I already gave you an example, when the keyboard-grab property of the
widget is false we already only hold the pointer grab (when in server
mouse mode). But for some reason you conveniently snipped that part
of my mail instead of replying to it.
Regards,
Hans
More information about the Spice-devel
mailing list