diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-03-11 19:01:13 +0100 |
---|---|---|
committer | Guido Cella <guido@guidocella.xyz> | 2024-03-11 19:01:13 +0100 |
commit | 2b171fd5010379a8674afa012245fea5a590e472 (patch) | |
tree | 409833f22bcf92002764e385c380a0852969f242 /protocols | |
parent | ea33ce9ae68e41a22a2fca3b6d17e071b9325a69 (diff) |
fix virtual pointers
When motionabsolute() is called from warpd, event->time_msec is 0, so
motionnotify() doesn't call wlr_cursor_move(). Fix this by explicitly
warping the cursor in this case, like it was done before implementing
pointer constraints.
I don't know if this is a bug in warpd or time_msec is always 0 with
virtual pointers, since the only other software that uses the virtual
pointer protocol I know of is wl-kbptr, and I can't get that to work
with dwl at all.
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions