mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-09 04:34:50 +00:00
Update less-simple-touch-input
parent
cca64f8aff
commit
8d024a3efa
@ -3,23 +3,12 @@ Adds touchscreen functionality.
|
||||
|
||||
This patch was based on the [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-input) but instead of emulating mouse movement, this now forwards the appropriate event notifications to clients.
|
||||
|
||||
This patch may be used with or without the pointer-constraints branch from [anon_cvptw's repository](https://codeberg.org/anon_cvptw/dwl/src/branch/main).
|
||||
**To use this WITH pointer-constraints, you must add `#define POINTERCONSTRAINTS` to `config.h`.**
|
||||
|
||||
If you're maintaining this patch, be sure to watch for changes to the `motionabsolute` function in anon_cvptw's `main` branch:
|
||||
|
||||
The `touchdown` function in the patch incorporates the contents of the `motionabsolute` function (as modified by pointer-constraints), adds in the `wlr_cursor_warp_closest` call and then the button press.
|
||||
|
||||
If `motionabsolute` is modified, `touchdown` should [likely] mirror any of its modifications.
|
||||
|
||||
If/when anon_cvptw's pointer-constraints pull request is merged into the [upstream](https://codeberg.org/dwl/dwl) codebase, this remark will be removed from the simple-touch-input patch branch commit, and things will be significantly simplified.
|
||||
|
||||
KNOWN BUGS:
|
||||
- Sometimes, the pointer moves to where the screen is pressed, but the button press doesn't occur until the screen is touched AGAIN. This means that if you touch to click button 'Q' on the screen (for instance), nothing happens; then you touch elsewhere on the screen and THEN button 'Q' registers a click. This is annoying, doesn't always happen, and I don't yet know how to fix it.
|
||||
|
||||
### Download
|
||||
- [git branch](https://codeberg.org/minego/dwl/src/branch/touch)
|
||||
- [2024-02-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/less-simple-touch-input/less-simple-touch-input.patch)
|
||||
- [2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/less-simple-touch-input/less-simple-touch-input.patch)
|
||||
|
||||
### Authors
|
||||
- [minego](https://codeberg.org/minego)
|
||||
@ -27,4 +16,5 @@ KNOWN BUGS:
|
||||
- [Unprex](https://github.com/Unprex)
|
||||
|
||||
### Changelog
|
||||
- 2024-02-11 Corrected issue where motion events where not sending notifications for unfocused clients such as an on screen keyboard
|
||||
- 2024-02-11 Corrected issue where motion events where not sending notifications for unfocused clients such as an on screen keyboard
|
||||
- 2024-03-26 Rebased, and removed #ifdef's for the pointer constraints patch which has been merged into upstream
|
Loading…
x
Reference in New Issue
Block a user