diff options
| author | YAMAMOTO Mitsuharu | 2007-05-01 08:15:56 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-05-01 08:15:56 +0000 |
| commit | b28d7564a8f6e0fdf5aa59f312644f0595c2d52b (patch) | |
| tree | 98e5953f98f985ca807d56e7464717257a212126 /src | |
| parent | 78f0d1fc66a094cf1af3d9ac139a6cb2812d8f60 (diff) | |
| download | emacs-b28d7564a8f6e0fdf5aa59f312644f0595c2d52b.tar.gz emacs-b28d7564a8f6e0fdf5aa59f312644f0595c2d52b.zip | |
(mac_dialog_show): Apply 2007-04-27 change for xmenu.c.
(Fx_popup_dialog) [MAC_OSX]: Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/macmenu.c | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 55e91a56e77..4491b7cd518 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | ||
| 4 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | ||
| 5 | |||
| 1 | 2007-04-29 Richard Stallman <rms@gnu.org> | 6 | 2007-04-29 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * insdel.c (replace_range): For undo, record insertion first. | 8 | * insdel.c (replace_range): For undo, record insertion first. |
diff --git a/src/macmenu.c b/src/macmenu.c index c7a84df7106..a5196a156eb 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -1011,6 +1011,11 @@ for instance using the window manager, then this produces a quit and | |||
| 1011 | DialogItemIndex item_hit; | 1011 | DialogItemIndex item_hit; |
| 1012 | Lisp_Object tem; | 1012 | Lisp_Object tem; |
| 1013 | 1013 | ||
| 1014 | /* Force a redisplay before showing the dialog. If a frame is | ||
| 1015 | created just before showing the dialog, its contents may not | ||
| 1016 | have been fully drawn. */ | ||
| 1017 | Fredisplay (Qt); | ||
| 1018 | |||
| 1014 | tem = Fstring_match (concat3 (build_string ("\\("), | 1019 | tem = Fstring_match (concat3 (build_string ("\\("), |
| 1015 | call0 (intern ("sentence-end")), | 1020 | call0 (intern ("sentence-end")), |
| 1016 | build_string ("\\)\n")), | 1021 | build_string ("\\)\n")), |
| @@ -2943,6 +2948,11 @@ mac_dialog_show (f, keymaps, title, header, error_name) | |||
| 2943 | first_wv = wv; | 2948 | first_wv = wv; |
| 2944 | } | 2949 | } |
| 2945 | 2950 | ||
| 2951 | /* Force a redisplay before showing the dialog. If a frame is created | ||
| 2952 | just before showing the dialog, its contents may not have been fully | ||
| 2953 | drawn. */ | ||
| 2954 | Fredisplay (Qt); | ||
| 2955 | |||
| 2946 | /* Actually create the dialog. */ | 2956 | /* Actually create the dialog. */ |
| 2947 | #if TARGET_API_MAC_CARBON | 2957 | #if TARGET_API_MAC_CARBON |
| 2948 | menu_item_selection = create_and_show_dialog (f, first_wv); | 2958 | menu_item_selection = create_and_show_dialog (f, first_wv); |