···446446447447 public static WindowState ToWindowState(this SDL.SDL_WindowFlags windowFlags)
448448 {
449449- // NOTE: on macOS, SDL2 does not differentiate between "maximised" and "fullscreen desktop"
450449 if (windowFlags.HasFlagFast(SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN_DESKTOP) ||
451450 windowFlags.HasFlagFast(SDL.SDL_WindowFlags.SDL_WINDOW_BORDERLESS))
452451 return WindowState.FullscreenBorderless;