From 3f67f02d0e078380d53d90d3058c8b79f30bdcd1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 16 Mar 2023 16:56:46 -0700 Subject: [PATCH] Fixed SDL_WINDOW_SKIP_TASKBAR on Windows The WS_EX_APPWINDOW forces a window onto the taskbar, which is not what we want. Set the style to 0 to use the default behavior. --- src/video/windows/SDL_windowswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c index dc44cebee..562e95fa1 100644 --- a/src/video/windows/SDL_windowswindow.c +++ b/src/video/windows/SDL_windowswindow.c @@ -118,7 +118,7 @@ static DWORD GetWindowStyle(SDL_Window *window) static DWORD GetWindowStyleEx(SDL_Window *window) { - DWORD style = WS_EX_APPWINDOW; + DWORD style = 0; if (SDL_WINDOW_IS_POPUP(window)) { style = WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE;