Fix XkbAllocKeyboard declaration

This commit is contained in:
CasualPokePlayer 2025-03-04 16:36:09 -08:00
parent 8ba8bd61b4
commit 7d876dee2c
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ namespace BizHawk.Bizware.Input
if (supportsXkb)
{
var keyboard = XkbAllocKeyboard(Display);
var keyboard = XkbAllocKeyboard();
if (keyboard != null)
{
if (XkbGetNames(Display, 0x3FF, keyboard) == Status.Success)

View File

@ -704,7 +704,7 @@ namespace BizHawk.Common
}
[DllImport(XLIB)]
public static extern unsafe XkbDescRec* XkbAllocKeyboard(IntPtr display);
public static extern unsafe XkbDescRec* XkbAllocKeyboard();
[DllImport(XLIB)]
public static extern unsafe void XkbFreeKeyboard(XkbDescRec* xkb, uint which, [MarshalAs(UnmanagedType.Bool)] bool free_all);