From 5e744ae3ff88322e109c7aae326827933e68dbd5 Mon Sep 17 00:00:00 2001 From: A Frederick Christensen Date: Wed, 1 Jan 2025 16:06:37 -0600 Subject: [PATCH] tablet-input: README.md formatting --- patches/tablet-input/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/patches/tablet-input/README.md b/patches/tablet-input/README.md index 8b9e562..9ae2481 100644 --- a/patches/tablet-input/README.md +++ b/patches/tablet-input/README.md @@ -3,10 +3,11 @@ implements wlr-tablet-v2 for drawing tablets and supports cursor emulation inspired by @guyuming76's [branch](https://codeberg.org/guyuming76/dwl/commits/branch/graphic_tablet), with coding help from @Palanix and testing by @Thanatos -**Please note:** wlroots modified the order of arguments to the function `wlr_surface_accepts_tablet_v2` -In versions less than or equal to 0.18.1 (against which, dwl 0.7 is typically built), the order is `tablet, surface`. -In the master branch and (anticipated) in versions later than 0.18.1, the order is `surface, tablet`. +**Please note:** wlroots modified the order of arguments to the function `wlr_surface_accepts_tablet_v2` +In versions less than or equal to 0.18.1 (against which, dwl 0.7 is typically built), the order is `tablet, surface`. +In the master branch and (anticipated) in versions later than 0.18.1, the order is `surface, tablet`. The git branch for this patch uses the `surface, tablet` order. + If you are attempting to use this codebase to make your own modifications to the patch, there is only one call to the `wlr_surface_accepts_tablet_v2` function, but you will need to make the argument order change. The `0.7` patch linked here accounts for the change and uses the `tablet, surface` order, but the patch is orphaned from a codebase.