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: Tue, 18 Sep 2012 18:37:17 +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 Mon, 27 Aug 2012 16:40:10 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

> The second update of Emacs 24 Mac port 3.x is available from
>     ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.2-mac-3.2.tar.gz
> This version is based on Emacs 24.2.

> The third update of Emacs 23 Mac port 2.x is also available from
>     ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-23.4-mac-2.3.tar.gz

Custom full screen transition animations were not shown as intended on
OS X 10.8.  That's not fatal, but kind of ugly.  If you use this
feature frequently on 10.8, you may want to apply the following patch.

                                     YAMAMOTO Mitsuharu
                                address@hidden

=== modified file 'src/macappkit.m'
*** src/macappkit.m     2012-08-16 05:06:02 +0000
--- src/macappkit.m     2012-09-18 05:20:09 +0000
***************
*** 3255,3262 ****
  - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
  {
    [self setupFullScreenTransitionWindow];
  
!   return [NSArray arrayWithObjects:window, fullScreenTransitionWindow, nil];
  }
  
  - (void)window:(NSWindow *)window
--- 3255,3265 ----
  - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
  {
    [self setupFullScreenTransitionWindow];
+   /* Custom windows for full screen transition must be on-screen on OS
+      X 10.8.  */
+   [fullScreenTransitionWindow orderFront:nil];
  
!   return [NSArray arrayWithObjects:fullScreenTransitionWindow, window, nil];
  }
  
  - (void)window:(NSWindow *)window
***************
*** 3274,3280 ****
      }
    frameRect = [self preprocessWindowManagerStateChange:fullScreenTargetState];
  
-   [fullScreenTransitionWindow orderFront:nil];
    [window setAlphaValue:0];
    [window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
  
--- 3277,3282 ----
***************
*** 3312,3319 ****
  - (NSArray *)customWindowsToExitFullScreenForWindow:(NSWindow *)window
  {
    [self setupFullScreenTransitionWindow];
  
!   return [NSArray arrayWithObjects:window, fullScreenTransitionWindow, nil];
  }
  
  - (void)window:(NSWindow *)window
--- 3314,3324 ----
  - (NSArray *)customWindowsToExitFullScreenForWindow:(NSWindow *)window
  {
    [self setupFullScreenTransitionWindow];
+   /* Custom windows for full screen transition must be on-screen on OS
+      X 10.8.  */
+   [fullScreenTransitionWindow orderFront:nil];
  
!   return [NSArray arrayWithObjects:fullScreenTransitionWindow, window, nil];
  }
  
  - (void)window:(NSWindow *)window
***************
*** 3329,3335 ****
      }
    destRect = [self preprocessWindowManagerStateChange:fullScreenTargetState];
  
-   [fullScreenTransitionWindow orderFront:nil];
    [window setAlphaValue:1];
    [window setStyleMask:([window styleMask] & ~NSFullScreenWindowMask)];
  
--- 3334,3339 ----




reply via email to

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