summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-10-28 00:41:28 +0100
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-10-29 16:37:19 +0100
commit4799d07ac1bb08a770ee702eb3fd0ab4654f878a (patch)
treebb790b9becdfffff98fbe808a4392501c84da52c /include
parentcontainer: Move container_under_pointer here from handlers. (diff)
downloadsway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.tar.gz
sway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.tar.zst
sway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.zip
input_state: Extract 'pointer_position_set' function from handlers.
Diffstat (limited to 'include')
-rw-r--r--include/input_state.h2
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
68void 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
70void pointer_mode_set(uint32_t button, bool condition); 72void pointer_mode_set(uint32_t button, bool condition);