mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
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.
This commit is contained in:
@@ -118,7 +118,7 @@ static DWORD GetWindowStyle(SDL_Window *window)
|
|||||||
|
|
||||||
static DWORD GetWindowStyleEx(SDL_Window *window)
|
static DWORD GetWindowStyleEx(SDL_Window *window)
|
||||||
{
|
{
|
||||||
DWORD style = WS_EX_APPWINDOW;
|
DWORD style = 0;
|
||||||
|
|
||||||
if (SDL_WINDOW_IS_POPUP(window)) {
|
if (SDL_WINDOW_IS_POPUP(window)) {
|
||||||
style = WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE;
|
style = WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE;
|
||||||
|
Reference in New Issue
Block a user