mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
avoid webpage activation disturb auto restore
This commit is contained in:
parent
e7b52a035c
commit
bed63a11f4
2 changed files with 10 additions and 3 deletions
|
@ -1321,7 +1321,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
IntPtr topHwnd = User32.GetAncestor(hwnd, User32.GetAncestorRoot);
|
||||
if (hwnd == topHwnd)
|
||||
HotKeyWindow.BrowserActivate(topHwnd);
|
||||
HotKeyWindow.BrowserActivate(topHwnd, in_restore : restoringFromMem);
|
||||
}
|
||||
else
|
||||
HotKeyWindow.BrowserActivate(hwnd, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue