Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pugl: XKeycodeToKeysym is deprecated, use XLookupKeysym

  • Loading branch information...
commit 539a5b6ffbdfeb60e3ce38dccc8809ff014e0309 1 parent 78ca7f9
@x42 x42 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  pugl/pugl_x11.c
View
3  pugl/pugl_x11.c
@@ -348,8 +348,7 @@ puglProcessEvents(PuglView* view)
}
if (!repeated && view->keyboardFunc) {
- KeySym sym = XKeycodeToKeysym(
- view->impl->display, event.xkey.keycode, 0);
+ KeySym sym = XLookupKeysym(&event.xkey, 0);
PuglKey special = keySymToSpecial(sym);
if (!special) {
view->keyboardFunc(view, false, sym);
Please sign in to comment.
Something went wrong with that request. Please try again.