diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -10939,6 +10939,9 @@ w32_reexec_emacs (char *cmd_line, const char *wdir) | |||
| 10939 | DWORD dwCreationFlags = NORMAL_PRIORITY_CLASS; | 10939 | DWORD dwCreationFlags = NORMAL_PRIORITY_CLASS; |
| 10940 | 10940 | ||
| 10941 | GetStartupInfo (&si); /* Use the same startup info as the caller. */ | 10941 | GetStartupInfo (&si); /* Use the same startup info as the caller. */ |
| 10942 | /* Reset undocumented bits in STARTUPINFO flags, as they could cause a | ||
| 10943 | crash in the re-exec'ed Emacs. */ | ||
| 10944 | si.dwFlags &= 0xbbff; /* reset the 0x4000 and 0x0400 bits */ | ||
| 10942 | if (inhibit_window_system) | 10945 | if (inhibit_window_system) |
| 10943 | { | 10946 | { |
| 10944 | HANDLE screen_handle; | 10947 | HANDLE screen_handle; |