input: Fix VRR for constrained cursors (#6877)
This commit is contained in:
parent
f5db483973
commit
ee8116ac5d
12 changed files with 100 additions and 17 deletions
|
|
@ -61,6 +61,9 @@ class CPointerManager {
|
|||
//
|
||||
Vector2D position();
|
||||
Vector2D cursorSizeLogical();
|
||||
void storeMovement(uint64_t time, const Vector2D& delta, const Vector2D& deltaUnaccel);
|
||||
void setStoredMovement(uint64_t time, const Vector2D& delta, const Vector2D& deltaUnaccel);
|
||||
void sendStoredMovement();
|
||||
|
||||
void recheckEnteredOutputs();
|
||||
|
||||
|
|
@ -154,6 +157,10 @@ class CPointerManager {
|
|||
|
||||
Vector2D pointerPos = {0, 0};
|
||||
|
||||
uint64_t storedTime = 0;
|
||||
Vector2D storedDelta = {0, 0};
|
||||
Vector2D storedUnaccel = {0, 0};
|
||||
|
||||
struct SMonitorPointerState {
|
||||
SMonitorPointerState(SP<CMonitor> m) : monitor(m) {}
|
||||
~SMonitorPointerState() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue