aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-22 00:15:23 +0200
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-22 00:16:10 +0200
commit9b271573a9c5b4f55a1625435aa01de0539f3333 (patch)
treeadd4f0b2a97d46fc8ddbd34d61656b3474592083 /sway/commands.c
parent4fea92ef0ce38661156e8605211b5a7fa9550745 (diff)
commands: Allow changing resolution outside config load.
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 9eb0928e..7605a36b 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -561,7 +561,6 @@ static enum cmd_status cmd_orientation(int argc, char **argv) {
}
static enum cmd_status cmd_output(int argc, char **argv) {
- if (!config->reading) return CMD_FAILURE;
if (!checkarg(argc, "output", EXPECTED_AT_LEAST, 1)) {
return CMD_FAILURE;
}