emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/w32inevt.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/w32inevt.c [emacs-unicode-2]
Date: Mon, 28 Jun 2004 03:55:11 -0400

Index: emacs/src/w32inevt.c
diff -c emacs/src/w32inevt.c:1.29.6.1 emacs/src/w32inevt.c:1.29.6.2
*** emacs/src/w32inevt.c:1.29.6.1       Fri Apr 16 12:50:50 2004
--- emacs/src/w32inevt.c        Mon Jun 28 07:29:24 2004
***************
*** 464,475 ****
        }
        if (event->uChar.AsciiChar == 0)
        return 0;
!       XSETINT (emacs_ev->code, event->uChar.AsciiChar);
      }
    else
      {
        emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT;
!       XSETINT (emacs_ev->code, event->wVirtualKeyCode);
      }
  
    XSETFRAME (emacs_ev->frame_or_window, get_frame ());
--- 464,475 ----
        }
        if (event->uChar.AsciiChar == 0)
        return 0;
!       emacs_ev->code = event->uChar.AsciiChar;
      }
    else
      {
        emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT;
!       emacs_ev->code = event->wVirtualKeyCode;
      }
  
    XSETFRAME (emacs_ev->frame_or_window, get_frame ());
***************
*** 524,531 ****
    *part = 0;
    SELECTED_FRAME ()->mouse_moved = 0;
  
!   *x = movement_pos.X;
!   *y = movement_pos.Y;
    *time = movement_time;
  
    UNBLOCK_INPUT;
--- 524,531 ----
    *part = 0;
    SELECTED_FRAME ()->mouse_moved = 0;
  
!   XSETINT(*x, movement_pos.X);
!   XSETINT(*y, movement_pos.Y);
    *time = movement_time;
  
    UNBLOCK_INPUT;
***************
*** 593,601 ****
      if (but_change & mask)
        {
          if (i < NUM_TRANSLATED_MOUSE_BUTTONS)
!           XSETINT (emacs_ev->code, emacs_button_translation[i]);
          else
!           XSETINT (emacs_ev->code, i);
        break;
        }
  
--- 593,601 ----
      if (but_change & mask)
        {
          if (i < NUM_TRANSLATED_MOUSE_BUTTONS)
!           emacs_ev->code = emacs_button_translation[i];
          else
!           emacs_ev->code = i;
        break;
        }
  




reply via email to

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