From: bones_was_here Date: Wed, 10 Apr 2024 18:45:38 +0000 (+1000) Subject: vid: [Windows] enable vid_ignore_taskbar by default X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c3a04c3fa4ce8bce4056a6f20997f02e15bee731;p=xonotic%2Fdarkplaces.git vid: [Windows] enable vid_ignore_taskbar by default When this Windows-specific cvar is disabled, a strange horizontal offset of the window occurs, at least on Windows 20 22H2. Signed-off-by: bones_was_here --- diff --git a/vid_shared.c b/vid_shared.c index ef064928..381efb76 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -167,7 +167,7 @@ cvar_t vid_desktopfullscreen = {CF_CLIENT | CF_ARCHIVE, "vid_desktopfullscreen", cvar_t vid_display = {CF_CLIENT | CF_ARCHIVE, "vid_display", "0", "which monitor to render on, numbered from 0 (system default)" }; cvar_t vid_info_displaycount = {CF_CLIENT | CF_READONLY, "vid_info_displaycount", "1", "how many monitors are currently available, updated by hotplug events" }; #ifdef WIN32 -cvar_t vid_ignore_taskbar = {CF_CLIENT | CF_ARCHIVE, "vid_ignore_taskbar", "0", "in windowed mode, prevent the Windows taskbar and window borders from affecting the size and placement of the window. it will be aligned centered and uses the unaltered vid_width/vid_height values"}; +cvar_t vid_ignore_taskbar = {CF_CLIENT | CF_ARCHIVE, "vid_ignore_taskbar", "1", "in windowed mode, prevent the Windows taskbar and window borders from affecting the size and placement of the window. it will be aligned centered and uses the unaltered vid_width/vid_height values"}; #endif cvar_t v_gamma = {CF_CLIENT | CF_ARCHIVE, "v_gamma", "1", "inverse gamma correction value, a brightness effect that does not affect white or black, and tends to make the image grey and dull"};