From c3a04c3fa4ce8bce4056a6f20997f02e15bee731 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Thu, 11 Apr 2024 04:45:38 +1000 Subject: [PATCH] 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 --- vid_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}; -- 2.39.2