[XProto] Handle XKB NewKeyboardNotify events
This fixes a regression where accelerators like Ctrl+T would not work after changing the keyboard layout after [1]. XKB internally selects and handles NewKeyboardNotify events, which get fired when changing the keyboard layout. This CL fixes the issue by manually selecting and responding to these events. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2317767 R=sky CC=nickdiego Bug: 1125886 Change-Id: Ie8b84e1947da2deb527cd572f7a646b4f833b3ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402301 Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#805586}
Showing
Please register or sign in to comment