aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-28 00:41:28 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-29 16:37:19 +0100
commit4799d07ac1bb08a770ee702eb3fd0ab4654f878a (patch)
treebb790b9becdfffff98fbe808a4392501c84da52c /include
parent865b30f13814beb798f49d6e2372cc44d8103b29 (diff)
downloadsway-4799d07ac1bb08a770ee702eb3fd0ab4654f878a.tar.xz
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 {
int mode;
} pointer_state;
+void pointer_position_set(struct wlc_origin *new_origin, bool force_focus);
+
// on button release unset mode depending on the button.
// on button press set mode conditionally depending on the button
void pointer_mode_set(uint32_t button, bool condition);