diff --git a/examples/common/entry/entry_x11.cpp b/examples/common/entry/entry_x11.cpp index 594aeea4..911b284d 100644 --- a/examples/common/entry/entry_x11.cpp +++ b/examples/common/entry/entry_x11.cpp @@ -350,7 +350,8 @@ namespace entry , XNClientWindow , m_window[0] , NULL - ); + );printf("x0\n"); + // bgfx::x11SetDisplayWindow(m_display, m_window[0]); @@ -478,6 +479,9 @@ namespace entry m_eventQueue.postCharEvent(handle, len, utf8); } break; + + default: + break; } } @@ -510,6 +514,9 @@ namespace entry s_joystick.shutdown(); + XDestroyIC(ic); + XCloseIM(im); + XUnmapWindow(m_display, m_window[0]); XDestroyWindow(m_display, m_window[0]);