mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
no forwarding esc key
This commit is contained in:
parent
580f4533c5
commit
893343f3c2
1 changed files with 1 additions and 7 deletions
|
@ -199,13 +199,7 @@ namespace PersistentWindows.Common
|
|||
IntPtr fgwnd = GetForegroundWindow();
|
||||
|
||||
bool return_focus_to_hotkey_window = true;
|
||||
if (e.KeyCode == Keys.Escape)
|
||||
{
|
||||
User32.SetForegroundWindow(fgwnd);
|
||||
SendKeys.Send("{ESC}");
|
||||
return_focus_to_hotkey_window = false;
|
||||
}
|
||||
else if (e.KeyCode == Keys.Tab)
|
||||
if (e.KeyCode == Keys.Tab)
|
||||
{
|
||||
User32.SetForegroundWindow(fgwnd);
|
||||
if (e.Shift)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue