[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: odd change in OSX behavior of toolbar in the past few weeks
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: odd change in OSX behavior of toolbar in the past few weeks |
Date: |
Mon, 09 Jul 2007 17:33:42 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.1.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sun, 08 Jul 2007 20:03:44 -0700, address@hidden (Randal L. Schwartz)
>>>>> said:
> Up until two weeks ago, a launch of OSX Emacs started nicely.
> However, sometime in the last two (maybe three) weeks, it now starts
> up *with* the toolbar in place for half a second, then it animates
> that to make it disappear.
> This behavior is annoying. Is there a setting to make it work the
> way I want, or at least the way it used to be?
That's related to the change for the Carbon HIToolbar support. You
can turn it off by adding -DUSE_MAC_TOOLBAR=0 to CFLAGS, but could you
try to see if the following patch works?
YAMAMOTO Mitsuharu
address@hidden
Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.224
diff -c -p -r1.224 macterm.c
*** src/macterm.c 28 Jun 2007 10:08:41 -0000 1.224
--- src/macterm.c 9 Jul 2007 07:40:10 -0000
*************** free_frame_tool_bar (f)
*** 6114,6120 ****
BLOCK_INPUT;
ShowHideWindowToolbar (FRAME_MAC_WINDOW (f), false,
! f == mac_focus_frame (dpyinfo));
/* Mac OS X 10.3 does not issue kEventWindowBoundsChanged events
on toolbar visibility change. */
mac_handle_origin_change (f);
--- 6114,6122 ----
BLOCK_INPUT;
ShowHideWindowToolbar (FRAME_MAC_WINDOW (f), false,
! (NILP (Fsymbol_value
! (intern ("frame-notice-user-settings")))
! && f == mac_focus_frame (dpyinfo)));
/* Mac OS X 10.3 does not issue kEventWindowBoundsChanged events
on toolbar visibility change. */
mac_handle_origin_change (f);