mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-12 21:45:40 +02:00
keep alive timer when mouse cursor is not settled
This commit is contained in:
parent
4897d677ed
commit
580f4533c5
1 changed files with 3 additions and 3 deletions
|
@ -208,8 +208,7 @@ namespace PersistentWindows.Common
|
|||
else if (e.KeyCode == Keys.Tab)
|
||||
{
|
||||
User32.SetForegroundWindow(fgwnd);
|
||||
bool shift_key_pressed = (User32.GetKeyState(0x10) & 0x8000) != 0;
|
||||
if (shift_key_pressed)
|
||||
if (e.Shift)
|
||||
{
|
||||
SendKeys.Send("^+{TAB}");
|
||||
}
|
||||
|
@ -511,8 +510,9 @@ namespace PersistentWindows.Common
|
|||
Show();
|
||||
else
|
||||
User32.SetForegroundWindow(Handle);
|
||||
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
StartAliveTimer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue