emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs Mac port


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs Mac port
Date: Sat, 16 Feb 2013 20:08:51 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 16 Feb 2013 17:21:35 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

>>> Also I noticed increased cpu usage from 0.3 up to 4.0% when emacs
>>> frame minimised in the Dock. The same can not be said about the NS
>>> port.

>> This is a serious problem and specific to the Mac port.  Please try
>> the following patch and send a report to me (not to the list) if
>> you find some problem with this patch.

> Sorry, I found that key event handling became sluggish when there
> are both iconified and uniconified frames.  It may take some time to
> solve this problem.

For the moment, please cancel the previous patch and apply the
following one.

                                     YAMAMOTO Mitsuharu
                                address@hidden

=== modified file 'src/macappkit.m'
*** src/macappkit.m     2013-02-09 07:26:28 +0000
--- src/macappkit.m     2013-02-16 11:01:41 +0000
***************
*** 6970,6981 ****
              EmacsWindow *window = FRAME_MAC_WINDOW_OBJECT (f);
  
              x_flush (f);
! #if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
!             /* Mac OS X 10.4 seems not to reset the flag
!                `viewsNeedDisplay' on autodisplay.  */
!             if (floor (NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
!               [window setViewsNeedDisplay:NO];
! #endif
              /* Check which frames are still visible.  We do this
                 here because there doesn't seem to be any direct
                 notification that the visibility of a window has
--- 6970,6976 ----
              EmacsWindow *window = FRAME_MAC_WINDOW_OBJECT (f);
  
              x_flush (f);
!             [window setViewsNeedDisplay:NO];
              /* Check which frames are still visible.  We do this
                 here because there doesn't seem to be any direct
                 notification that the visibility of a window has




reply via email to

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