The event handling gets a little trickier this way but we need the keymap sent immdiately after the focus_in event to determine which keys are pressed as the compositor receives keyboard focus.