aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32console.c')
-rw-r--r--src/w32console.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32console.c b/src/w32console.c
index f0574689bf1..06b2c7aa24e 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -1,5 +1,5 @@
1/* Terminal hooks for GNU Emacs on the Microsoft Windows API. 1/* Terminal hooks for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1992, 1999, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1992, 1999, 2001-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -746,6 +746,9 @@ initialize_w32_display (struct terminal *term)
746 else 746 else
747 w32_console_unicode_input = 0; 747 w32_console_unicode_input = 0;
748 748
749 /* This is needed by w32notify.c:send_notifications. */
750 dwMainThreadId = GetCurrentThreadId ();
751
749 /* Setup w32_display_info structure for this frame. */ 752 /* Setup w32_display_info structure for this frame. */
750 753
751 w32_initialize_display_info (build_string ("Console")); 754 w32_initialize_display_info (build_string ("Console"));