common: set default window mode to windowed on windows

Window, window, window, window!
This commit is contained in:
Alibek Omarov
2026-01-29 22:02:28 +05:00
parent 456ad17d05
commit e767770647

View File

@@ -133,7 +133,11 @@ Default build-depended cvar and constant values
*/ */
// Platform overrides // Platform overrides
#if XASH_NSWITCH #if XASH_WIN32
// set up windowed by default on Windows to avoid problems with
// Xbox Game Bar
#define DEFAULT_FULLSCREEN "0"
#elif XASH_NSWITCH
#define DEFAULT_TOUCH_ENABLE "1" #define DEFAULT_TOUCH_ENABLE "1"
#define DEFAULT_M_IGNORE "1" #define DEFAULT_M_IGNORE "1"
#define DEFAULT_MODE_WIDTH 1280 #define DEFAULT_MODE_WIDTH 1280