On platforms like KDE, mixing X core events with XInput2 events causes issues, so just switch entirely over to XInput2.