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: Andrew Choi
Subject: [Emacs-diffs] Changes to emacs/src/macterm.c
Date: Sat, 01 Nov 2003 14:58:04 -0500

Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.50 emacs/src/macterm.c:1.51
*** emacs/src/macterm.c:1.50    Sun Oct 12 20:07:10 2003
--- emacs/src/macterm.c Sat Nov  1 14:58:03 2003
***************
*** 7773,7786 ****
          switch (part_code)
            {
            case inMenuBar:
!               {
!                 struct frame *f = ((mac_output *)
!                                  GetWRefCon (FrontWindow ()))->mFP;
!                 saved_menu_event_location = er.where;
!                 bufp->kind = MENU_BAR_ACTIVATE_EVENT;
!                 XSETFRAME (bufp->frame_or_window, f);
!                 count++;
!               }
              break;
  
            case inContent:
--- 7773,7787 ----
          switch (part_code)
            {
            case inMenuBar:
!             if (er.what == mouseDown)  
!               {
!                 struct frame *f = ((mac_output *)
!                                    GetWRefCon (FrontWindow ()))->mFP;
!                 saved_menu_event_location = er.where;
!                 bufp->kind = MENU_BAR_ACTIVATE_EVENT;
!                 XSETFRAME (bufp->frame_or_window, f);
!                 count++;
!               }
              break;
  
            case inContent:
***************
*** 7899,7906 ****
  
            /* window resize handling added --ben */
            case inGrow:
!             do_grow_window(window_ptr, &er);
!             break;
  
            /* window zoom handling added --ben */
            case inZoomIn:
--- 7900,7910 ----
  
            /* window resize handling added --ben */
            case inGrow:
!               if (er.what == mouseDown)  
!               {
!                 do_grow_window(window_ptr, &er);
!                 break;
!               }
  
            /* window zoom handling added --ben */
            case inZoomIn:




reply via email to

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