Commit f5f4260b authored by Committed by Albert Astals CidBrowse files
Revert "xcb: stablilize xkb state when keymap updated"
This reverts commit 27c25fc9 . Currently Qt only supports core device of keyboard, not every real keyboard. Create a new xkb state during xcb_xkb_new_keyboard_notify_event_t, it will lose the correct state before the event, for example, when using the second or later layout than the first one. The new xkb state will use the first layout. It's difficult to sync the xkb states. Fixes: QTBUG-102493 Fixes: QTBUG-102640 Task-number: QTBUG-95933 Pick-to: 6.3 6.2 5.15 Change-Id: Iaa5369ff9f5495e194577dcbb8f78303158c9a73 Reviewed-by: Lu YaNing <firstname.lastname@example.org> Reviewed-by: Zhang Hao <email@example.com> Reviewed-by: Liang Qi <firstname.lastname@example.org> Reviewed-by: Ilya Fedin <email@example.com> (cherry picked from commit 9b92c531)