]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_msg_pump): Handle WM_EMACS_SETLOCALE.
authorGeoff Voelker <voelker@cs.washington.edu>
Fri, 17 Apr 1998 05:08:23 +0000 (05:08 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Fri, 17 Apr 1998 05:08:23 +0000 (05:08 +0000)
(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.

src/w32fns.c

index 48f6d2c800db4c6c309059b41a51acb48110087c..50f352d1a692f79bc323e6046d9ba9489215d531 100644 (file)
@@ -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;