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: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/macterm.c
Date: Mon, 18 Apr 2005 03:44:54 -0400

Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.110 emacs/src/macterm.c:1.111
*** emacs/src/macterm.c:1.110   Sat Apr 16 03:05:15 2005
--- emacs/src/macterm.c Mon Apr 18 07:44:54 2005
***************
*** 8590,8602 ****
                struct frame *f = mac_focus_frame (dpyinfo);
                WindowPtr window_ptr;
  
!               if (!f)
                  {
                    /* Beep if wheel move occurs when all the frames
                       are invisible.  */
                    SysBeep(1);
                    break;
                  }
  
                GetEventParameter(eventRef, kEventParamMouseWheelDelta,
                                  typeSInt32, NULL, sizeof (SInt32),
--- 8590,8604 ----
                struct frame *f = mac_focus_frame (dpyinfo);
                WindowPtr window_ptr;
  
! #if 0
!               if (dpyinfo->x_focus_frame == NULL)
                  {
                    /* Beep if wheel move occurs when all the frames
                       are invisible.  */
                    SysBeep(1);
                    break;
                  }
+ #endif
  
                GetEventParameter(eventRef, kEventParamMouseWheelDelta,
                                  typeSInt32, NULL, sizeof (SInt32),
***************
*** 9011,9016 ****
--- 9013,9019 ----
                break;
  #endif
  
+ #if 0
            if (dpyinfo->x_focus_frame == NULL)
              {
                /* Beep if keyboard input occurs when all the frames
***************
*** 9018,9023 ****
--- 9021,9027 ----
                SysBeep (1);
                break;
              }
+ #endif
  
            {
              static SInt16 last_key_script = -1;




reply via email to

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