mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Don't broadcast language change
This commit is contained in:
parent
bf011f11db
commit
382d0c2bfe
2 changed files with 3 additions and 2 deletions
|
|
@ -54,6 +54,5 @@ ActivateKeyboardLayout
|
|||
GetKeyboardLayoutList
|
||||
|
||||
PostMessage
|
||||
HWND_BROADCAST
|
||||
WM_INPUTLANGCHANGEREQUEST
|
||||
INPUTLANGCHANGE_FORWARD
|
||||
|
|
|
|||
|
|
@ -403,7 +403,9 @@ namespace Flow.Launcher.Infrastructure
|
|||
{
|
||||
if (_previousLayout == HKL.Null) return;
|
||||
|
||||
PInvoke.PostMessage(HWND.HWND_BROADCAST,
|
||||
var hwnd = PInvoke.GetForegroundWindow();
|
||||
PInvoke.PostMessage(
|
||||
hwnd,
|
||||
PInvoke.WM_INPUTLANGCHANGEREQUEST,
|
||||
PInvoke.INPUTLANGCHANGE_FORWARD,
|
||||
_previousLayout.Value
|
||||
|
|
|
|||
Loading…
Reference in a new issue