Commit dfdb4047 authored by Geoff Voelker's avatar Geoff Voelker

(w32_msg_pump): Handle WM_EMACS_SETLOCALE.

(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.
parent 8be05193
......@@ -3133,6 +3133,10 @@ w32_msg_pump (deferred_msg * msg_buf)
if (!PostThreadMessage (dwMainThreadId, WM_EMACS_DONE, 0, 0))
abort ();
break;
case WM_EMACS_SETLOCALE:
SetThreadLocale (msg.wParam);
/* Reply is not expected. */
break;
default:
/* No need to be so draconian! */
/* abort (); */
......@@ -3771,6 +3775,9 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
case WM_EMACS_SHOWWINDOW:
return ShowWindow ((HWND) wParam, (WPARAM) lParam);
case WM_EMACS_SETFOREGROUND:
return SetForegroundWindow ((HWND) wParam);
case WM_EMACS_SETWINDOWPOS:
{
WINDOWPOS * pos = (WINDOWPOS *) wParam;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment