diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-20 23:12:33 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-20 23:12:33 -0400 |
commit | 82cd55a67006a2817daa466fd2a56e3e5aa11e17 (patch) | |
tree | 483fbc00ce738270067487978199b670e970893a /include | |
parent | Merge pull request #2007 from swaywm/fix-focus-follows-mouse (diff) | |
download | sway-82cd55a67006a2817daa466fd2a56e3e5aa11e17.tar.gz sway-82cd55a67006a2817daa466fd2a56e3e5aa11e17.tar.zst sway-82cd55a67006a2817daa466fd2a56e3e5aa11e17.zip |
Fix border commands from changing focus
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 20c1c903..42c894a4 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -29,7 +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, uint32_t time_msec, |
33 | bool allow_refocusing); | ||
33 | 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, |
34 | uint32_t button, enum wlr_button_state state); | 35 | uint32_t button, enum wlr_button_state state); |
35 | 36 | ||