| Summary: | [Patch] SDL_WINDOW_SKIP_TASKBAR support for Windows | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ioannis Makris <imak> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | imak |
| Version: | 2.0.5 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
| Attachments: | patch for SDL_WINDOW_SKIP_TASKBAR support, against 2.0.5 source, under /src/video/windows | ||
This is already implemented in the latest SDL snapshot: http://www.libsdl.org/tmp/SDL-2.0.zip Thanks! With your implementation, when a window that is both borderless and skips the taskbar is minimized, the result seems a bit strange. But if this is the desired behaviour, then it's good. What happens in that case with your implementation? As I tested again, the behaviour is exactly the same. I had earlier observed some artifacts which were unrelated to SDL - my sincere apologies for the noise. Okay, thanks for checking! |
Created attachment 2829 [details] patch for SDL_WINDOW_SKIP_TASKBAR support, against 2.0.5 source, under /src/video/windows A small patch to add support for SDL_WINDOW_SKIP_TASKBAR on Windows. (Not thoroughly tested) The idea is that if the window is borderless (WS_POPUP), then it may also simply skip the taskbar with the WS_EX_TOOLWINDOW flag. If it is not borderless, this is not an option, because the border of WS_EX_TOOLWINDOW is different, but the same result can probably be achieved by making creating an invisible parent window.