diff options
Diffstat (limited to 'src/w32menu.c')
| -rw-r--r-- | src/w32menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index f804e830ac0..ad2eb96495a 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -231,7 +231,7 @@ otherwise it is "Question". */) | |||
| 231 | unblock_input (); | 231 | unblock_input (); |
| 232 | 232 | ||
| 233 | discard_menu_items (); | 233 | discard_menu_items (); |
| 234 | FRAME_X_DISPLAY_INFO (f)->grabbed = 0; | 234 | FRAME_DISPLAY_INFO (f)->grabbed = 0; |
| 235 | 235 | ||
| 236 | if (error_name) error (error_name); | 236 | if (error_name) error (error_name); |
| 237 | return selection; | 237 | return selection; |
| @@ -421,7 +421,7 @@ set_frame_menubar (struct frame *f, bool first_time, bool deep_p) | |||
| 421 | 421 | ||
| 422 | /* Save the frame's previous menu bar contents data. */ | 422 | /* Save the frame's previous menu bar contents data. */ |
| 423 | if (previous_menu_items_used) | 423 | if (previous_menu_items_used) |
| 424 | memcpy (previous_items, XVECTOR (f->menu_bar_vector)->contents, | 424 | memcpy (previous_items, XVECTOR (f->menu_bar_vector)->u.contents, |
| 425 | previous_menu_items_used * word_size); | 425 | previous_menu_items_used * word_size); |
| 426 | 426 | ||
| 427 | /* Fill in menu_items with the current menu bar contents. | 427 | /* Fill in menu_items with the current menu bar contents. |
| @@ -885,7 +885,7 @@ w32_menu_show (struct frame *f, int x, int y, int for_click, int keymaps, | |||
| 885 | /* Clean up extraneous mouse events which might have been generated | 885 | /* Clean up extraneous mouse events which might have been generated |
| 886 | during the call. */ | 886 | during the call. */ |
| 887 | discard_mouse_events (); | 887 | discard_mouse_events (); |
| 888 | FRAME_X_DISPLAY_INFO (f)->grabbed = 0; | 888 | FRAME_DISPLAY_INFO (f)->grabbed = 0; |
| 889 | 889 | ||
| 890 | /* Free the widget_value objects we used to specify the contents. */ | 890 | /* Free the widget_value objects we used to specify the contents. */ |
| 891 | free_menubar_widget_value_tree (first_wv); | 891 | free_menubar_widget_value_tree (first_wv); |
| @@ -1130,7 +1130,7 @@ w32_dialog_show (struct frame *f, int keymaps, | |||
| 1130 | lw_pop_up_all_widgets (dialog_id); | 1130 | lw_pop_up_all_widgets (dialog_id); |
| 1131 | 1131 | ||
| 1132 | /* Process events that apply to the menu. */ | 1132 | /* Process events that apply to the menu. */ |
| 1133 | popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), dialog_id); | 1133 | popup_get_selection ((XEvent *) 0, FRAME_DISPLAY_INFO (f), dialog_id); |
| 1134 | 1134 | ||
| 1135 | lw_destroy_all_widgets (dialog_id); | 1135 | lw_destroy_all_widgets (dialog_id); |
| 1136 | 1136 | ||