diff options
author | Scott Leggett <scott@sl.id.au> | 2018-05-27 14:52:40 +1000 |
---|---|---|
committer | Scott Leggett <scott@sl.id.au> | 2018-05-27 15:29:48 +1000 |
commit | 06098bef98ec515584ab8007cbf7a104f2d67980 (patch) | |
tree | f99df174b233ca266270afa3ef83d2627cf03bec /include | |
parent | Replace oft-failing abort with if statement (diff) | |
download | sway-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.h | 4 |
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 | ||
30 | void sway_cursor_destroy(struct sway_cursor *cursor); | 30 | void sway_cursor_destroy(struct sway_cursor *cursor); |
31 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 31 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
32 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | 32 | void 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); |
34 | void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, | 34 | void 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 | ||