diff options
Diffstat (limited to 'src/wayland/pointer.c')
| -rw-r--r-- | src/wayland/pointer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland/pointer.c b/src/wayland/pointer.c index 006eadd..5f97370 100644 --- a/src/wayland/pointer.c +++ b/src/wayland/pointer.c @@ -785,6 +785,7 @@ static void tablet_tool_up(void *data, struct zwp_tablet_tool_v2 *tool) struct seat *s = ((struct tablet_tool *)data)->seat; struct yasl_surface *w = s->tablet_focus; if (!w) return; + s->pen.pressure = 0; press_queue_push(&s->tool_presses, w, s->tool_pos, 0, true); } |
