diff --git a/imgui/src/io.rs b/imgui/src/io.rs index 0d3db8c..f7a2564 100644 --- a/imgui/src/io.rs +++ b/imgui/src/io.rs @@ -457,8 +457,8 @@ impl Io { sys::ImGuiIO_AddKeyEvent(self.raw_mut(), key as u32, down); } } - // Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) - // Note: [`io.config_debug_ignore_focus_loss`] will ignore this event from firing + /// Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) + /// Note: [`io.config_debug_ignore_focus_loss`] will ignore this event from firing #[doc(alias = "AddFocusEvent") pub fn add_focus_event(&mut self, focused: bool) { unsafe {