emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c
Date: Tue, 27 May 2003 18:34:58 -0400

Index: emacs/src/w32term.c
diff -c emacs/src/w32term.c:1.191 emacs/src/w32term.c:1.192
*** emacs/src/w32term.c:1.191   Tue May 27 17:18:22 2003
--- emacs/src/w32term.c Tue May 27 18:34:58 2003
***************
*** 4451,4457 ****
                  }
              }
  
!           button = ( GET_WHEEL_DELTA_WPARAM (msg.msg.wParam) < 0 )? 4 : 3;
  
            if (up)
              {
--- 4451,4457 ----
                  }
              }
  
!           button = (GET_WHEEL_DELTA_WPARAM (msg.msg.wParam) < 0)? 4 : 3;
  
            if (up)
              {
***************
*** 4816,4842 ****
          break;
  
        default:
!         /* Check for messages registered at runtime. */
          if (msg.msg.message == msh_mousewheel)
            {
!             if (dpyinfo->grabbed && last_mouse_frame
!                 && FRAME_LIVE_P (last_mouse_frame))
!               f = last_mouse_frame;
!             else
!               f = x_window_to_frame (dpyinfo, msg.msg.hwnd);
! 
!             if (f)
!               {
!                 if ((!dpyinfo->w32_focus_frame
!                      || f == dpyinfo->w32_focus_frame)
!                     && (numchars >= 1))
!                   {
!                     construct_mouse_wheel (bufp, &msg, f);
!                     bufp++;
!                     count++;
!                     numchars--;
!                   }
!               }
            }
          break;
        }
--- 4816,4827 ----
          break;
  
        default:
!         /* Check for messages registered at runtime.  */
          if (msg.msg.message == msh_mousewheel)
            {
!             /* Forward MSH_MOUSEWHEEL as WM_MOUSEWHEEL.  */
!             msg.msg.message == WM_MOUSEWHEEL;
!             prepend_msg (&msg);
            }
          break;
        }




reply via email to

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