Re: [PATCH v3 5/7] ui/gtk: implement show-cursor option

2020-02-12 Thread Gerd Hoffmann
> > +if (s->opts->has_show_cursor && s->opts->show_cursor) { > > +s->null_cursor = NULL; /* default pointer */ > > +} else { > > +s->null_cursor = gdk_cursor_new_for_display(window_display, > > +GDK_BLANK_CURSOR); > > +

Re: [PATCH v3 5/7] ui/gtk: implement show-cursor option

2020-02-07 Thread Joshua Watt
On 2/7/20 4:17 AM, Gerd Hoffmann wrote: When specified just set null_cursor to NULL so we get the default pointer instead of a blank pointer. Signed-off-by: Gerd Hoffmann --- ui/gtk.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index d188

[PATCH v3 5/7] ui/gtk: implement show-cursor option

2020-02-07 Thread Gerd Hoffmann
When specified just set null_cursor to NULL so we get the default pointer instead of a blank pointer. Signed-off-by: Gerd Hoffmann --- ui/gtk.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index d18892d1de61..a685d1ae0848 100644 --- a/ui/gtk.c +