Hi Bram and list,

2018-3-15(Thu) 7:00:45 UTC+9 Bram Moolenaar:
> > This can be reproduced on Windows GUI.
> 
> > If I move the mouse cursor while a `:tselect` prompt is shown, the
> 
> > cursor becomes a stop cursor.
> 
> > After typing Enter, the cursor doesn't turn back to an arrow, it is
> 
> > still the stop cursor.
> 
> 
> 
> It appears to work fine with GTK on Linux.
> 
> Perhaps we need a Windows-specific solution?

I can reproduce with GTK2-GNOME on fedora 26.
And an attached patch fixes this.
Also confirmed that the issue was solved in Windows.

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/misc1.c b/src/misc1.c
index 135293dd2..812ca6acd 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3594,6 +3594,9 @@ prompt_for_number(int *mouse_used)
     cmdline_row = 0;
     save_State = State;
     State = ASKMORE;	/* prevents a screen update when using a timer */
+#ifdef FEAT_MOUSE
+    setmouse();
+#endif
 
     i = get_number(TRUE, mouse_used);
     if (KeyTyped)
@@ -3608,6 +3611,9 @@ prompt_for_number(int *mouse_used)
     else
 	cmdline_row = save_cmdline_row;
     State = save_State;
+#ifdef FEAT_MOUSE
+    setmouse();
+#endif
 
     return i;
 }

Raspunde prin e-mail lui