5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 21:30:39 +08:00

Improved "HiddenOnTaskbar" implementation.

This commit is contained in:
Lea Anthony 2024-12-27 09:14:43 +11:00
parent 27480bc6cb
commit 1276ef178b
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -210,7 +210,8 @@ func (w *windowsWebviewWindow) run() {
}
// If we're frameless, we need to add the WS_EX_TOOLWINDOW style to hide the window from the taskbar
if options.Windows.HiddenOnTaskbar {
exStyle |= w32.WS_EX_TOOLWINDOW
//exStyle |= w32.WS_EX_TOOLWINDOW
exStyle |= w32.WS_EX_NOACTIVATE
} else {
exStyle |= w32.WS_EX_APPWINDOW
}