summaryrefslogtreecommitdiff
path: root/sway/main.c
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/main.c
parent086691016e7cbe9794b73c174eaefa77e2d56498 (diff)
Implement focus_follows_mouse
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index e547ef4a..2f69506c 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -48,6 +48,10 @@ int main(int argc, char **argv) {
},
.keyboard = {
.key = handle_key
+ },
+ .pointer = {
+ .motion = handle_pointer_motion,
+ .button = handle_pointer_button
}
};