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


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/src/w32inevt.c
Date: Thu, 13 Jun 2002 10:58:07 -0400

Index: emacs/src/w32inevt.c
diff -c emacs/src/w32inevt.c:1.27 emacs/src/w32inevt.c:1.28
*** emacs/src/w32inevt.c:1.27   Tue Jan  1 14:10:48 2002
--- emacs/src/w32inevt.c        Thu Jun 13 10:58:06 2002
***************
*** 426,432 ****
  
    if (lispy_function_keys[event->wVirtualKeyCode] == 0)
      {
!       emacs_ev->kind = ascii_keystroke;
  
        if (!NILP (Vw32_recognize_altgr)
          && (event->dwControlKeyState & LEFT_CTRL_PRESSED)
--- 426,432 ----
  
    if (lispy_function_keys[event->wVirtualKeyCode] == 0)
      {
!       emacs_ev->kind = ASCII_KEYSTROKE_EVENT;
  
        if (!NILP (Vw32_recognize_altgr)
          && (event->dwControlKeyState & LEFT_CTRL_PRESSED)
***************
*** 468,474 ****
      }
    else
      {
!       emacs_ev->kind = non_ascii_keystroke;
        XSETINT (emacs_ev->code, event->wVirtualKeyCode);
      }
  
--- 468,474 ----
      }
    else
      {
!       emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT;
        XSETINT (emacs_ev->code, event->wVirtualKeyCode);
      }
  
***************
*** 584,590 ****
    if (event->dwButtonState == button_state)
      return 0;
    
!   emacs_ev->kind = mouse_click;
    
    /* Find out what button has changed state since the last button event.  */
    but_change = button_state ^ event->dwButtonState;
--- 584,590 ----
    if (event->dwButtonState == button_state)
      return 0;
    
!   emacs_ev->kind = MOUSE_CLICK_EVENT;
    
    /* Find out what button has changed state since the last button event.  */
    but_change = button_state ^ event->dwButtonState;



reply via email to

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