Skip to content

Commit

Permalink
X11: fix keysyms
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Oct 28, 2013
1 parent d97a90e commit ae6982b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windowing/WinEventsX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ bool CWinEventsX11Imp::MessagePump()
if (keys.length() > 0)
{
newEvent.key.keysym.scancode = xevent.xkey.keycode;
xkeysym = XLookupKeysym(&xevent.xkey, 0);
XLookupString(&xevent.xkey, NULL, 0, &xkeysym, NULL);
newEvent.key.keysym.sym = LookupXbmcKeySym(xkeysym);
newEvent.key.keysym.unicode = keys[keys.length() - 1];
newEvent.key.state = xevent.xkey.state;
Expand Down

0 comments on commit ae6982b

Please sign in to comment.