summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Scott Leggett <scott@sl.id.au>2018-05-27 14:52:40 +1000
committerLibravatar Scott Leggett <scott@sl.id.au>2018-05-27 15:29:48 +1000
commit06098bef98ec515584ab8007cbf7a104f2d67980 (patch)
treef99df174b233ca266270afa3ef83d2627cf03bec /include
parentReplace oft-failing abort with if statement (diff)
downloadsway-06098bef98ec515584ab8007cbf7a104f2d67980.tar.gz
sway-06098bef98ec515584ab8007cbf7a104f2d67980.tar.zst
sway-06098bef98ec515584ab8007cbf7a104f2d67980.zip
Focus containers only on entry.
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/cursor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 42c894a4..2141361d 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -29,8 +29,8 @@ struct sway_cursor {
29 29
30void sway_cursor_destroy(struct sway_cursor *cursor); 30void sway_cursor_destroy(struct sway_cursor *cursor);
31struct sway_cursor *sway_cursor_create(struct sway_seat *seat); 31struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
32void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, 32void cursor_send_pointer_motion(struct sway_cursor *cursor,
33 bool allow_refocusing); 33 double delta_x, double delta_y, uint32_t time_msec, bool allow_refocusing);
34void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, 34void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
35 uint32_t button, enum wlr_button_state state); 35 uint32_t button, enum wlr_button_state state);
36 36