aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 6739c163..920742e9 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -723,7 +723,7 @@ static void seat_configure_tablet_tool(struct sway_seat *seat,
static void seat_configure_tablet_pad(struct sway_seat *seat,
struct sway_seat_device *sway_device) {
- if (!sway_device->tablet) {
+ if (!sway_device->tablet_pad) {
sway_device->tablet_pad = sway_tablet_pad_create(seat, sway_device);
}
sway_configure_tablet_pad(sway_device->tablet_pad);