mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
webpage commander: reduce window focus shifting when hand cursor is displayed (possible menu selection)
This commit is contained in:
parent
08ef381f96
commit
ebe7c5d33d
1 changed files with 5 additions and 1 deletions
|
@ -929,7 +929,7 @@ namespace PersistentWindows.Common
|
|||
regain_focus = false;
|
||||
}
|
||||
}
|
||||
else if (!handCursor)
|
||||
else if (hCursor == Cursors.Default.Handle)
|
||||
{
|
||||
/*
|
||||
if (!commanderWndUnderCursor)
|
||||
|
@ -940,6 +940,10 @@ namespace PersistentWindows.Common
|
|||
*/
|
||||
regain_focus = !commanderWndUnderCursor;
|
||||
}
|
||||
else if (!handCursor)
|
||||
{
|
||||
regain_focus = false;
|
||||
}
|
||||
|
||||
// let tiny hotkey window follow cursor position
|
||||
ResetHotKeyVirtualDesktop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue