glfw::window: added input_mode()