diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-28 00:41:28 +0100 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-29 16:37:19 +0100 |
commit | 4799d07ac1bb08a770ee702eb3fd0ab4654f878a (patch) | |
tree | bb790b9becdfffff98fbe808a4392501c84da52c /include/input_state.h | |
parent | container: Move container_under_pointer here from handlers. (diff) | |
download | sway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.tar.gz sway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.tar.zst sway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.zip |
input_state: Extract 'pointer_position_set' function from handlers.
Diffstat (limited to 'include/input_state.h')
-rw-r--r-- | include/input_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input_state.h b/include/input_state.h index d87ae18c..dd5d71a8 100644 --- a/include/input_state.h +++ b/include/input_state.h | |||
@@ -65,6 +65,8 @@ extern struct pointer_state { | |||
65 | int mode; | 65 | int mode; |
66 | } pointer_state; | 66 | } pointer_state; |
67 | 67 | ||
68 | void pointer_position_set(struct wlc_origin *new_origin, bool force_focus); | ||
69 | |||
68 | // on button release unset mode depending on the button. | 70 | // on button release unset mode depending on the button. |
69 | // on button press set mode conditionally depending on the button | 71 | // on button press set mode conditionally depending on the button |
70 | void pointer_mode_set(uint32_t button, bool condition); | 72 | void pointer_mode_set(uint32_t button, bool condition); |