A client can actively grab control of the keyboard, and key events will be sent to that client rather than the client the events would normally have been sent to.