Skip to content

Commit 1436e03

Browse files
Fix text input SendInput layout (#213)
Co-authored-by: Owen McGirr <o.a.mcgirr@gmail.com>
1 parent 5660763 commit 1436e03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native/text-input-helper/NativeMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private struct INPUT
8484
internal INPUTUNION InputUnion;
8585
}
8686

87-
[StructLayout(LayoutKind.Explicit)]
87+
[StructLayout(LayoutKind.Explicit, Size = 32)]
8888
private struct INPUTUNION
8989
{
9090
[FieldOffset(0)]

0 commit comments

Comments
 (0)