mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 21:15:38 +02:00
webpage commander: regain focus when reactivated
This commit is contained in:
parent
46cf4feb3e
commit
e5f7371829
1 changed files with 2 additions and 0 deletions
|
@ -401,6 +401,8 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
restoreHotkeyWindow = false;
|
||||
User32.ShowWindow(HotKeyWindow.commanderWnd, (int)ShowWindowCommands.Show);
|
||||
User32.SetForegroundWindow(HotKeyWindow.commanderWnd);
|
||||
User32.SetFocus(HotKeyWindow.commanderWnd);
|
||||
}
|
||||
|
||||
if (!alt_key_pressed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue