Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes

This commit is contained in:
Sam Lantinga committed 2022-12-08 12:46:13 -08:00
1 parent cfc7cac3c9
commit 264da8c127
4 files changed
+45 -9

No files matched your search

+2 -1
View File
@@ -187,7 +187,8 @@ typedef enum
SDL_DISPLAYEVENT_NONE, /**< Never used */
SDL_DISPLAYEVENT_ORIENTATION, /**< Display orientation has changed to data1 */
SDL_DISPLAYEVENT_CONNECTED, /**< Display has been added to the system */
SDL_DISPLAYEVENT_DISCONNECTED /**< Display has been removed from the system */
SDL_DISPLAYEVENT_DISCONNECTED, /**< Display has been removed from the system */
SDL_DISPLAYEVENT_MOVED /**< Display has changed position */
} SDL_DisplayEventID;
/**