To reproduce: 1. Start on an open chromium (chrome, brave, electron, etc.) window. 2. Call `next-buffer` to switch to an Emacs buffer. 3. Call `previous-buffer` to switch back to the chromium window. At that point, chrome will refuse to respond to keypresses until the window is clicked (with the mouse) or focus is transfered in/out of the window.