annotate nt/ftime-nostartup.bat @ 109327:60266cf487b0

Fix menus as per bug 6499 and 6608. * gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499). * gtkutil.h (xg_event_is_for_menubar): Declare. * xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter instead of Window. Call xg_event_is_for_menubar when USE_GTK (Bug#6499). * xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499, i.e. don't put back ButtonRelease (Bug#6608). * xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame. * xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
author Jan D <jan.h.d@swipnet.se>
date Wed, 14 Jul 2010 12:05:53 +0200
parents 93ce5f375b46
children 375f2633d815 ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
41276
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
1 @echo off
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
2 if (%1)==() echo Usage: %0 tracefile
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
3 if (%1)==() goto done
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
4 rem Need to fiddle with the dumped image so prep doesn't break it
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
5 obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
6 copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
7 rem -----------------------------------------------------------------
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
8 rem Use this version to profile explicit commands only.
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
9 rem prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
10 rem -----------------------------------------------------------------
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
11 rem Use this version to ignore startup code
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
12 prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
13 rem -----------------------------------------------------------------
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
14 rem Use this version to include startup code
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
15 rem prep /om /ft ..\src\obj\i386\pemacs
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
16 rem -----------------------------------------------------------------
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
17 if errorlevel 1 goto done
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
18 profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
19 if errorlevel 1 goto done
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
20 prep /m ..\src\obj\i386\pemacs
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
21 if errorlevel 1 goto done
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
22 plist ..\src\obj\i386\pemacs > %1
c0027e4caa1e New file.
Andrew Innes <andrewi@gnu.org>
parents:
diff changeset
23 :done
52414
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
24
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
25 goto skipArchTag
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
26 arch-tag: 927c5199-a8a3-4cf0-ab56-62b66fc6520d
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
27 :skipArchTag