emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/macterm.c
Date: Fri, 21 Mar 2003 16:47:46 -0500

Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.37 emacs/src/macterm.c:1.38
*** emacs/src/macterm.c:1.37    Fri Mar 21 08:50:10 2003
--- emacs/src/macterm.c Fri Mar 21 16:47:46 2003
***************
*** 4648,4666 ****
  /* RIF: Draw cursor on window W.  */
  
  static void
! mac_draw_window_cursor (w, glyph_row, on, x, y, new_cursor_type, 
new_cursor_width)
       struct window *w;
       struct glyph_row *glyph_row;
!      int on, x, y;
!      int new_cursor_type, new_cursor_width;
  {
!   if (on)
      {
!       w->phys_cursor_type = new_cursor_type;
!       w->phys_cursor_width = new_cursor_width;
        w->phys_cursor_on_p = 1;
  
!       switch (new_cursor_type)
        {
        case HOLLOW_BOX_CURSOR:
          x_draw_hollow_cursor (w, glyph_row);
--- 4648,4667 ----
  /* RIF: Draw cursor on window W.  */
  
  static void
! mac_draw_window_cursor (w, glyph_row, x, y, cursor_type, cursor_width, on_p, 
active_p)
       struct window *w;
       struct glyph_row *glyph_row;
!      int x, y;
!      int cursor_type, cursor_width;
!      int on_p, active_p;
  {
!   if (on_p)
      {
!       w->phys_cursor_type = cursor_type;
!       w->phys_cursor_width = cursor_width;
        w->phys_cursor_on_p = 1;
  
!       switch (cursor_type)
        {
        case HOLLOW_BOX_CURSOR:
          x_draw_hollow_cursor (w, glyph_row);
***************
*** 4673,4679 ****
        case HBAR_CURSOR:
          /* TODO.  For now, just draw bar cursor. */
        case BAR_CURSOR:
!         x_draw_bar_cursor (w, glyph_row, new_cursor_width);
          break;
  
        case NO_CURSOR:
--- 4674,4680 ----
        case HBAR_CURSOR:
          /* TODO.  For now, just draw bar cursor. */
        case BAR_CURSOR:
!         x_draw_bar_cursor (w, glyph_row, cursor_width);
          break;
  
        case NO_CURSOR:




reply via email to

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