aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index af8c6ed1..f84451de 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -17,7 +17,8 @@ int main(int argc, char **argv) {
.output = {
.created = handle_output_created,
.destroyed = handle_output_destroyed,
- .resolution = handle_output_resolution_change
+ .resolution = handle_output_resolution_change,
+ .focus = handle_output_focused
},
.view = {
.created = handle_view_created,