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:
parent
27480bc6cb
commit
1276ef178b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user