emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Thu, 19 Jan 2006 21:12:22 +0000

Index: emacs/src/xdisp.c
diff -u emacs/src/xdisp.c:1.1069 emacs/src/xdisp.c:1.1070
--- emacs/src/xdisp.c:1.1069    Sun Dec 11 15:37:00 2005
+++ emacs/src/xdisp.c   Thu Jan 19 21:12:22 2006
@@ -20772,12 +20772,17 @@
     {
       if (w == XWINDOW (echo_area_window))
        {
-         *width = FRAME_CURSOR_WIDTH (f);
-         return FRAME_DESIRED_CURSOR (f);
-       }
+         if (EQ (b->cursor_type, Qt) || NILP (b->cursor_type))
+           {
+             *width = FRAME_CURSOR_WIDTH (f);
+             return FRAME_DESIRED_CURSOR (f);
+           }
+         else
+           return get_specified_cursor_type (b->cursor_type, width);
 
-      *active_cursor = 0;
-      non_selected = 1;
+         *active_cursor = 0;
+         non_selected = 1;
+       }
     }
 
   /* Nonselected window or nonselected frame.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]