X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fx11%2Fkeyboard.cpp;fp=source%2Finput%2Fx11%2Fkeyboard.cpp;h=00b6448e316bf84232fc64e0245e3c4010abe209;hp=ed959dafe40e9fb643202a2fc7eea0bb9b9b4e2d;hb=507fa60f32bd3f64840a2cdd1be5d68478432b55;hpb=cea95778acfd6e172639cafd7ad249cc13ceb2a6 diff --git a/source/input/x11/keyboard.cpp b/source/input/x11/keyboard.cpp index ed959da..00b6448 100644 --- a/source/input/x11/keyboard.cpp +++ b/source/input/x11/keyboard.cpp @@ -33,7 +33,7 @@ void Keyboard::input_event(const Graphics::Window::Event &event) if(event.xevent.type==KeyPress) { char ch; - if(XLookupString(const_cast(&event.xevent.xkey), &ch, 1, 0, 0)) + if(XLookupString(const_cast(&event.xevent.xkey), &ch, 1, nullptr, nullptr)) // XLookupString always returns Latin-1 signal_character.emit(static_cast(ch)); }