]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure cursors are drawn correctly after haiku_clear_frame
authorPo Lu <luangruo@yahoo.com>
Sun, 23 Jan 2022 13:34:03 +0000 (13:34 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 23 Jan 2022 13:34:03 +0000 (13:34 +0000)
* src/haikuterm.c (haiku_clear_frame): Mark all cursors as off.

src/haikuterm.c

index 93ba088f5b1d10217d4019c6de3cb561fa57219a..7ab41805ead31288e600568d8c6673b23edf3b09 100644 (file)
@@ -238,6 +238,9 @@ static void
 haiku_clear_frame (struct frame *f)
 {
   void *view = FRAME_HAIKU_VIEW (f);
+
+  mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f)));
+
   block_input ();
   BView_draw_lock (view);
   BView_StartClip (view);