Constant MOUSE_FOCUS_CLICKTHROUGH

pub const MOUSE_FOCUS_CLICKTHROUGH: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

Allow mouse click events when clicking to focus an SDL window.

The variable can be set to the following values:

  • “0”: Ignore mouse clicks that activate a window. (default)
  • “1”: Generate events for mouse clicks that activate a window.

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.