From f97a48d5b75fd80a578af14f19d0b1d954f82fdd Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 9 Aug 2015 09:23:10 -0400 Subject: Implement focus_follows_mouse --- sway/handlers.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/handlers.h') 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 -- cgit v1.2.3