feat: add touch input support#888
Open
WeraPea wants to merge 1 commit intomangowm:mainfrom
Open
Conversation
Originally authored by Ching Pei Yang (horriblename) <badnam3o.0@gmail.com> based on dwl-patches/touch-input: https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/touch-input/touch-input.patch Initial patch changes: - removed duplicate declaration of `createtouch` - touch motion events now track the surface detected at touch down, rather than whatever surface is under the finger at motion time Subsequent fixes and improvements: - fix: prevent client focus loss on touch interaction with layer surfaces - fix: correct emulation of cursor pointer from unhandled touch events - opt: hide cursor on touchdown - fix: prevent crash when touch motion occurs over layer surfaces - fix: use scene node coordinates for touch motion events - opt: remove sloppyfocus guards from touch focus - opt: handle touch_cancel event - fix: drop events for cancelled touch points - fix: correct touch motion surface-local coordinate calculation Co-authored-by: Ching Pei Yang <badnam3o.0@gmail.com>
|
is the cursor being hidden while using the touchscreen the expected behaviour? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Originally authored by @horriblename based on dwl-patches/touch-input: #426
Initial patch changes:
createtouchSubsequent fixes and improvements: