From f5889f73547763553cc808f5ee6d5340de19d097 Mon Sep 17 00:00:00 2001 From: Owen McGirr Date: Sun, 21 Jun 2026 11:11:46 +0100 Subject: [PATCH] Fix text input SendInput layout --- native/text-input-helper/NativeMethods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/text-input-helper/NativeMethods.cs b/native/text-input-helper/NativeMethods.cs index 4d651c1..1582b75 100644 --- a/native/text-input-helper/NativeMethods.cs +++ b/native/text-input-helper/NativeMethods.cs @@ -84,7 +84,7 @@ private struct INPUT internal INPUTUNION InputUnion; } - [StructLayout(LayoutKind.Explicit)] + [StructLayout(LayoutKind.Explicit, Size = 32)] private struct INPUTUNION { [FieldOffset(0)]