diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 38557b62..644b8005 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "commands.h" | 15 | #include "commands.h" |
16 | #include "container.h" | 16 | #include "container.h" |
17 | #include "handlers.h" | 17 | #include "handlers.h" |
18 | #include "sway.h" | ||
18 | 19 | ||
19 | struct modifier_key { | 20 | struct modifier_key { |
20 | char *name; | 21 | char *name; |
@@ -186,7 +187,7 @@ static bool cmd_exit(struct sway_config *config, int argc, char **argv) { | |||
186 | } | 187 | } |
187 | // Close all views | 188 | // Close all views |
188 | container_map(&root_container, kill_views, NULL); | 189 | container_map(&root_container, kill_views, NULL); |
189 | wlc_terminate(); | 190 | sway_terminate(); |
190 | return true; | 191 | return true; |
191 | } | 192 | } |
192 | 193 | ||