app: [Windows] don't make raised windows topmost

Use HWND_TOP instead of HWND_TOPMOST in ActionRaise so raising a
window no longer pins it on top.

Signed-off-by: qiannian <qianniancn@gmail.com>
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
qiannian
2026-06-25 18:52:03 +02:00
committed by Elias Naur
parent 9e18cb93fb
commit 30dc7ff294
2 changed files with 4 additions and 7 deletions
+1
View File
@@ -207,6 +207,7 @@ const (
CFS_POINT = 0x0002
CFS_CANDIDATEPOS = 0x0040
HWND_TOP = syscall.Handle(0)
HWND_TOPMOST = ^(syscall.Handle(1) - 1) // -1
HTCAPTION = 2