mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Improved "HiddenOnTaskbar" implementation.
This commit is contained in:
parent
27480bc6cb
commit
1276ef178b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue