Fix XkbAllocKeyboard declaration
This commit is contained in:
parent
8ba8bd61b4
commit
7d876dee2c
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue