Constant WINDOW_ALLOW_TOPMOST

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

If set to “0” then never set the top-most flag on an SDL Window even if the application requests it.

This is a debugging aid for developers and not expected to be used by end users.

The variable can be set to the following values:

  • “0”: don’t allow topmost
  • “1”: allow topmost (default)

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.