patch 7.4.2199
Problem: In the GUI the cursor is hidden when redrawing any window,
causing flicker.
Solution: Only undraw the cursor when updating the window it's in.
diff --git a/src/gui.c b/src/gui.c
index 0d858ec..6f1d8f5 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1964,12 +1964,13 @@
* gui_can_update_cursor() afterwards.
*/
void
-gui_dont_update_cursor(void)
+gui_dont_update_cursor(int undraw)
{
if (gui.in_use)
{
/* Undraw the cursor now, we probably can't do it after the change. */
- gui_undraw_cursor();
+ if (undraw)
+ gui_undraw_cursor();
can_update_cursor = FALSE;
}
}