touch: detach from pointer input

this detaches touch from pointer input. Touch should not affect where your cursor is, and it doesn't make much sense for it to move when we use touch
This commit is contained in:
vaxerski 2025-08-20 13:01:31 +02:00
parent 9a20206945
commit 1ac1ff457a
4 changed files with 48 additions and 32 deletions

View file

@ -116,7 +116,7 @@ class CInputManager {
bool isLocked();
Vector2D getMouseCoordsInternal();
void refocus();
void refocus(std::optional<Vector2D> overridePos = std::nullopt);
bool refocusLastWindow(PHLMONITOR pMonitor);
void simulateMouseMovement();
void sendMotionEventsToFocused();
@ -244,7 +244,7 @@ class CInputManager {
uint32_t m_capabilities = 0;
void mouseMoveUnified(uint32_t, bool refocus = false, bool mouse = false);
void mouseMoveUnified(uint32_t, bool refocus = false, bool mouse = false, std::optional<Vector2D> overridePos = std::nullopt);
void recheckMouseWarpOnMouseInput();
SP<CTabletTool> ensureTabletToolPresent(SP<Aquamarine::ITabletTool>);