Add mapping notification support for X11
This commit is contained in:
parent
aba54925d8
commit
89ea3af65e
@ -2005,6 +2005,15 @@ bool WindowImplX11::processEvent(XEvent& windowEvent)
|
||||
break;
|
||||
}
|
||||
|
||||
// Keyboard mapping changed
|
||||
case MappingNotify:
|
||||
{
|
||||
if (windowEvent.xmapping.request == MappingKeyboard)
|
||||
XRefreshKeyboardMapping(&windowEvent.xmapping);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
// Window unmapped
|
||||
case UnmapNotify:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user