summaryrefslogtreecommitdiff
path: root/sway/handlers.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-09 09:23:10 -0400
committerDrew DeVault <[email protected]>2015-08-09 09:23:10 -0400
commitf97a48d5b75fd80a578af14f19d0b1d954f82fdd (patch)
treec99dcdd46754915d18445281d2778ea61be05f3b /sway/handlers.h
parent086691016e7cbe9794b73c174eaefa77e2d56498 (diff)
Implement focus_follows_mouse
Diffstat (limited to 'sway/handlers.h')
-rw-r--r--sway/handlers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/handlers.h b/sway/handlers.h
index d0cc67c8..331be725 100644
--- a/sway/handlers.h
+++ b/sway/handlers.h
@@ -16,4 +16,8 @@ void handle_view_geometry_request(wlc_handle view, const struct wlc_geometry* ge
bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers
*modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state);
+bool handle_pointer_motion(wlc_handle view, uint32_t time, const struct wlc_origin *origin);
+bool handle_pointer_button(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers,
+ uint32_t button, enum wlc_button_state state);
+
#endif