diff options
author | 2023-01-09 18:28:59 +0300 | |
---|---|---|
committer | 2023-02-10 18:12:12 +0100 | |
commit | 41e473f8c0d79b1a6026c85949bdbd1aa0788a16 (patch) | |
tree | 047fe77d90fb14b469b7f876412e8b3d7d7c55ef /include/sway/input | |
parent | warp_to_constraint_cursor_hint: Handle NULL view (diff) | |
download | sway-41e473f8c0d79b1a6026c85949bdbd1aa0788a16.tar.gz sway-41e473f8c0d79b1a6026c85949bdbd1aa0788a16.tar.zst sway-41e473f8c0d79b1a6026c85949bdbd1aa0788a16.zip |
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/sway/input')
-rw-r--r-- | include/sway/input/tablet.h | 2 |
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); | |||
63 | 63 | ||
64 | void sway_tablet_pad_destroy(struct sway_tablet_pad *tablet_pad); | 64 | void sway_tablet_pad_destroy(struct sway_tablet_pad *tablet_pad); |
65 | 65 | ||
66 | void sway_tablet_pad_notify_enter(struct sway_tablet_pad *tablet_pad, | 66 | void sway_tablet_pad_set_focus(struct sway_tablet_pad *tablet_pad, |
67 | struct wlr_surface *surface); | 67 | struct wlr_surface *surface); |
68 | 68 | ||
69 | #endif | 69 | #endif |