Skip to content

Clear PC drag toggle after other mouse clicks#2608

Merged
enaboapps merged 1 commit into
mainfrom
fix/pc-drag-clears-after-click-2607
Jul 4, 2026
Merged

Clear PC drag toggle after other mouse clicks#2608
enaboapps merged 1 commit into
mainfrom
fix/pc-drag-clears-after-click-2607

Conversation

@enaboapps

Copy link
Copy Markdown
Collaborator

Summary

  • clear Android's mirrored PC drag state after successful click commands
  • leave movement, scroll, and modifier commands from clearing drag
  • add view-model coverage for click success, click failure, and non-click behavior

Closes #2607

Companion PC PR: switchifyapp/switchify-pc#372

Test plan

  • ./gradlew compileDebugKotlin
  • ./gradlew testDebugUnitTest --tests "com.enaboapps.switchify.screens.pc.PcMouseControlViewModelTest"

- Clear mirrored drag state after successful click commands

- Keep movement, scroll, and modifier commands from clearing drag

- Add view-model coverage for drag clearing and failure behavior

🤖 Auto-generated
@enaboapps enaboapps added this to the v2.38.1 milestone Jul 4, 2026
@enaboapps enaboapps merged commit ee4667e into main Jul 4, 2026
@enaboapps enaboapps deleted the fix/pc-drag-clears-after-click-2607 branch July 4, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clear PC drag toggle after other mouse clicks

2 participants