Fix tests wrapper
This commit is contained in:
parent
51118014b1
commit
14a7ca0848
|
@ -278,7 +278,7 @@ void* XWindowsImpl::XineramaQueryScreens(Display* display, int* number)
|
||||||
#if HAVE_X11_EXTENSIONS_XINERAMA_H
|
#if HAVE_X11_EXTENSIONS_XINERAMA_H
|
||||||
return ::XineramaQueryScreens(display, number);
|
return ::XineramaQueryScreens(display, number);
|
||||||
#else
|
#else
|
||||||
nullptr;
|
return nullptr;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -614,30 +614,30 @@ int XWindowsImpl::do_XkbKeyNumGroups(XkbDescPtr m_xkb, KeyCode desc)
|
||||||
XkbKeyTypePtr XWindowsImpl::do_XkbKeyKeyType(XkbDescPtr m_xkb, KeyCode keycode,
|
XkbKeyTypePtr XWindowsImpl::do_XkbKeyKeyType(XkbDescPtr m_xkb, KeyCode keycode,
|
||||||
int eGroup)
|
int eGroup)
|
||||||
{
|
{
|
||||||
return do_XkbKeyKeyType(m_xkb, keycode, eGroup);
|
return XkbKeyKeyType(m_xkb, keycode, eGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
KeySym XWindowsImpl::do_XkbKeySymEntry(XkbDescPtr m_xkb, KeyCode keycode,
|
KeySym XWindowsImpl::do_XkbKeySymEntry(XkbDescPtr m_xkb, KeyCode keycode,
|
||||||
int level, int eGroup)
|
int level, int eGroup)
|
||||||
{
|
{
|
||||||
return do_XkbKeySymEntry(m_xkb, keycode, level, eGroup);
|
return XkbKeySymEntry(m_xkb, keycode, level, eGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool XWindowsImpl::do_XkbKeyHasActions(XkbDescPtr m_xkb, KeyCode keycode)
|
Bool XWindowsImpl::do_XkbKeyHasActions(XkbDescPtr m_xkb, KeyCode keycode)
|
||||||
{
|
{
|
||||||
return do_XkbKeyHasActions(m_xkb, keycode);
|
return XkbKeyHasActions(m_xkb, keycode);
|
||||||
}
|
}
|
||||||
|
|
||||||
XkbAction* XWindowsImpl::do_XkbKeyActionEntry(XkbDescPtr m_xkb, KeyCode keycode,
|
XkbAction* XWindowsImpl::do_XkbKeyActionEntry(XkbDescPtr m_xkb, KeyCode keycode,
|
||||||
int level, int eGroup)
|
int level, int eGroup)
|
||||||
{
|
{
|
||||||
return do_XkbKeyActionEntry(m_xkb, keycode, level, eGroup);
|
return XkbKeyActionEntry(m_xkb, keycode, level, eGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char XWindowsImpl::do_XkbKeyGroupInfo(XkbDescPtr m_xkb,
|
unsigned char XWindowsImpl::do_XkbKeyGroupInfo(XkbDescPtr m_xkb,
|
||||||
KeyCode keycode)
|
KeyCode keycode)
|
||||||
{
|
{
|
||||||
return do_XkbKeyGroupInfo(m_xkb, keycode);
|
return XkbKeyGroupInfo(m_xkb, keycode);
|
||||||
}
|
}
|
||||||
|
|
||||||
int XWindowsImpl::XNextEvent(Display* display, XEvent* event_return)
|
int XWindowsImpl::XNextEvent(Display* display, XEvent* event_return)
|
||||||
|
|
|
@ -59,6 +59,7 @@ XWindowsKeyState::XWindowsKeyState(IXWindowsImpl* impl,
|
||||||
m_display(display),
|
m_display(display),
|
||||||
m_modifierFromX(ModifiersFromXDefaultSize)
|
m_modifierFromX(ModifiersFromXDefaultSize)
|
||||||
{
|
{
|
||||||
|
m_impl = impl;
|
||||||
init(display, useXKB);
|
init(display, useXKB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue