Implement x11_frame_window::get_key_press based on win32 frame_get_key_press