aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-01-09 18:28:59 +0300
committerSimon Ser <contact@emersion.fr>2023-02-10 18:12:12 +0100
commit41e473f8c0d79b1a6026c85949bdbd1aa0788a16 (patch)
tree047fe77d90fb14b469b7f876412e8b3d7d7c55ef /include
parent908d7db441d7806bb8efbf086eabfc50935ed540 (diff)
input/tablet: handle focusing NULL surface
Additionally, rename the function responsible for switching focus to match its behavior better. (cherry picked from commit 53c9a4a6438824abfb3d539bf55aec92074977e0)
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/tablet.h2
1 files changed, 1 insertions, 1 deletions
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