aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-20 08:37:09 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-20 08:37:24 -0400
commit579fe70ed92ce65d5a761ebdbb6c458b5f919687 (patch)
treea56ab8990f003d4408f1ef71d35c425a3545aec2 /sway/commands.c
parent927ef0a5ecbd5fae71e862cdd9b6c83fa1c481d8 (diff)
Add command line parsing
Closes #6
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index a3f74747..803d9a21 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -414,7 +414,7 @@ static bool cmd_reload(struct sway_config *config, int argc, char **argv) {
if (!checkarg(argc, "reload", EXPECTED_EQUAL_TO, 0)) {
return false;
}
- if (!load_config()) {
+ if (!load_config(NULL)) { // TODO: Use config given from -c
return false;
}
arrange_windows(&root_container, -1, -1);