From 53c9a4a6438824abfb3d539bf55aec92074977e0 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 9 Jan 2023 18:28:59 +0300 Subject: input/tablet: handle focusing NULL surface Additionally, rename the function responsible for switching focus to match its behavior better. --- include/sway/input/tablet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sway/input') diff --git a/include/sway/input/tablet.h b/include/sway/input/tablet.h index c0a5aff7..2fa5db6d 100644 --- a/include/sway/input/tablet.h +++ b/include/sway/input/tablet.h @@ -63,7 +63,7 @@ void sway_configure_tablet_pad(struct sway_tablet_pad *tablet_pad); void sway_tablet_pad_destroy(struct sway_tablet_pad *tablet_pad); -void sway_tablet_pad_notify_enter(struct sway_tablet_pad *tablet_pad, +void sway_tablet_pad_set_focus(struct sway_tablet_pad *tablet_pad, struct wlr_surface *surface); #endif -- cgit v1.2.3