Fix last fix of note_mouse_highlight
[bpt/emacs.git] / src / xdisp.c
index f9c1b4d..980e905 100644 (file)
@@ -28569,13 +28569,15 @@ note_mouse_highlight (struct frame *f, int x, int y)
     {
       note_mode_line_or_margin_highlight (window, x, y, part);
 
+#ifdef HAVE_WINDOW_SYSTEM
       if (part == ON_LEFT_MARGIN || part == ON_RIGHT_MARGIN)
        {
          cursor = FRAME_X_OUTPUT (f)->nontext_cursor;
-         /* Sho non-text cursor (Bug#16647).  */
+         /* Show non-text cursor (Bug#16647).  */
          goto set_cursor;
        }
       else
+#endif
        return;
     }