mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix windows systray icon just hanging out (#2330)
This commit is contained in:
committed by
GitHub
parent
358545579a
commit
36ce75c8c6
12
vendor/github.com/kermieisinthehouse/systray/systray_windows.go
generated
vendored
12
vendor/github.com/kermieisinthehouse/systray/systray_windows.go
generated
vendored
@@ -811,7 +811,17 @@ func nativeLoop() {
|
||||
}
|
||||
|
||||
func quit() {
|
||||
const WM_CLOSE = 0x0010
|
||||
const (
|
||||
WM_ENDSESSION = 0x0016
|
||||
WM_CLOSE = 0x0010
|
||||
)
|
||||
|
||||
pPostMessage.Call(
|
||||
uintptr(wt.window),
|
||||
WM_ENDSESSION,
|
||||
0,
|
||||
0,
|
||||
)
|
||||
|
||||
pPostMessage.Call(
|
||||
uintptr(wt.window),
|
||||
|
||||
Reference in New Issue
Block a user