Re: [Spice-devel] [PATCH spice-gtk] RFC: Simplify cursor reset code

2012-03-31 Thread Hans de Goede
Hi, On 03/31/2012 02:08 AM, Marc-André Lureau wrote: I am not sure what is the exact semantic of cursor reset: it's not set, hide or show. Until now all it was doing is setting back default cursor on display. However, this is not correct if the cursor is in server mode (cursor should stay hidden

[Spice-devel] [PATCH spice-gtk] RFC: Simplify cursor reset code

2012-03-30 Thread Marc-André Lureau
I am not sure what is the exact semantic of cursor reset: it's not set, hide or show. Until now all it was doing is setting back default cursor on display. However, this is not correct if the cursor is in server mode (cursor should stay hidden). With this change, it now "forget" any previous curso