aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Kirill Primak <vyivel@eclair.cafe>2023-01-09 18:28:59 +0300
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2023-01-16 15:37:59 -0500
commit53c9a4a6438824abfb3d539bf55aec92074977e0 (patch)
tree1a98f99cdc1fc1857d4d211c8c128add7c26af3a /include
parentswaynag: call swaynag_destroy on clean exit (diff)
downloadsway-53c9a4a6438824abfb3d539bf55aec92074977e0.tar.gz
sway-53c9a4a6438824abfb3d539bf55aec92074977e0.tar.zst
sway-53c9a4a6438824abfb3d539bf55aec92074977e0.zip
input/tablet: handle focusing NULL surface
Additionally, rename the function responsible for switching focus to match its behavior better.
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);
63 63
64void sway_tablet_pad_destroy(struct sway_tablet_pad *tablet_pad); 64void sway_tablet_pad_destroy(struct sway_tablet_pad *tablet_pad);
65 65
66void sway_tablet_pad_notify_enter(struct sway_tablet_pad *tablet_pad, 66void 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