aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-10-28 00:41:28 +0100
committerFurkan Sahin <furkan-dev@proton.me>2015-10-28 00:41:28 +0100
commit0616b03c48240ca3b9e97987cf8e1e267688d692 (patch)
treebb790b9becdfffff98fbe808a4392501c84da52c /include
parent6b794394ff352596da21440af0d3800f59abe586 (diff)
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);