Przeglądaj źródła

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 2 miesięcy temu
rodzic
commit
45cc80f02c
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      include/SDL3/SDL_video.h

+ 6 - 0
include/SDL3/SDL_video.h

@@ -180,6 +180,12 @@ typedef struct SDL_Window SDL_Window;
  * changed on existing windows by the app, and some of it might be altered by
  * the user or system outside of the app's control.
  *
+ * When creating windows with `SDL_WINDOW_RESIZABLE`, SDL will constrain
+ * resizable windows to the dimensions recommended by the compositor to fit it
+ * within the usable desktop space, although some compositors will do this
+ * automatically without intervention as well. Use `SDL_SetWindowResizable`
+ * after creation instead if you wish to create a window with a specific size.
+ *
  * \since This datatype is available since SDL 3.2.0.
  *
  * \sa SDL_GetWindowFlags