Add follow mouse mode to avoid refocusing under cursor (#2135)
* Add follow mouse mode to avoid refocusing under cursor
This commit is contained in:
parent
e195a51cd4
commit
f40272d509
3 changed files with 8 additions and 1 deletions
|
|
@ -175,6 +175,9 @@ class CInputManager {
|
|||
// for hiding cursor on touch
|
||||
bool m_bLastInputTouch = false;
|
||||
|
||||
// for tracking mouse refocus
|
||||
CWindow* m_pLastMouseFocus = nullptr;
|
||||
|
||||
private:
|
||||
bool m_bCursorImageOverridden = false;
|
||||
eBorderIconDirection m_eBorderIconDirection = BORDERICON_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue