diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32console.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bf46f8e7f1e..7903a0f5039 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-06-04 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32console.c (initialize_w32_display): Set the console | ||
| 4 | menu_show_hook, otherwise TTY menus are broken on w32. | ||
| 5 | |||
| 1 | 2014-06-04 Dmitry Antipov <dmantipov@yandex.ru> | 6 | 2014-06-04 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 7 | ||
| 3 | Use terminal-specific hooks to display menus. | 8 | Use terminal-specific hooks to display menus. |
diff --git a/src/w32console.c b/src/w32console.c index e3ca2f86b8d..2fbc190ee2d 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -36,8 +36,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | #include "termhooks.h" | 36 | #include "termhooks.h" |
| 37 | #include "termchar.h" | 37 | #include "termchar.h" |
| 38 | #include "dispextern.h" | 38 | #include "dispextern.h" |
| 39 | #include "menu.h" /* for tty_menu_show */ | ||
| 39 | #include "w32term.h" | 40 | #include "w32term.h" |
| 40 | #include "w32common.h" /* for os_subtype */ | 41 | #include "w32common.h" /* for os_subtype */ |
| 41 | #include "w32inevt.h" | 42 | #include "w32inevt.h" |
| 42 | 43 | ||
| 43 | /* from window.c */ | 44 | /* from window.c */ |
| @@ -650,6 +651,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height) | |||
| 650 | 651 | ||
| 651 | term->read_socket_hook = w32_console_read_socket; | 652 | term->read_socket_hook = w32_console_read_socket; |
| 652 | term->mouse_position_hook = w32_console_mouse_position; | 653 | term->mouse_position_hook = w32_console_mouse_position; |
| 654 | term->menu_show_hook = tty_menu_show; | ||
| 653 | 655 | ||
| 654 | /* The following are not used on the console. */ | 656 | /* The following are not used on the console. */ |
| 655 | term->frame_rehighlight_hook = 0; | 657 | term->frame_rehighlight_hook = 0; |