Re: [PATCH v3 1/3] vnc: move check into vnc_cursor_define

2021-01-14 Thread Daniel P . Berrangé
On Tue, Jan 12, 2021 at 02:41:18PM +0100, Gerd Hoffmann wrote: > Move the check whenever a cursor exists into the vnc_cursor_define() > function so callers don't have to do it. > > Suggested-by: Marc-André Lureau > Signed-off-by: Gerd Hoffmann > --- > ui/vnc.c | 12 ++-- > 1 file change

Re: [PATCH v3 1/3] vnc: move check into vnc_cursor_define

2021-01-12 Thread Marc-André Lureau
On Tue, Jan 12, 2021 at 5:41 PM Gerd Hoffmann wrote: > Move the check whenever a cursor exists into the vnc_cursor_define() > function so callers don't have to do it. > > Suggested-by: Marc-André Lureau > Signed-off-by: Gerd Hoffmann > thanks Reviewed-by: Marc-André Lureau --- > ui/vnc.c |

[PATCH v3 1/3] vnc: move check into vnc_cursor_define

2021-01-12 Thread Gerd Hoffmann
Move the check whenever a cursor exists into the vnc_cursor_define() function so callers don't have to do it. Suggested-by: Marc-André Lureau Signed-off-by: Gerd Hoffmann --- ui/vnc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 7452