aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorMoelf <jerryling315@gmail.com>2019-05-10 23:57:53 -0700
committerBrian Ashworth <bosrsf04@gmail.com>2019-05-14 00:11:04 -0400
commited2e553b8d0dff3e74eeaa80a2586458271b2565 (patch)
tree3b48f4efad369798686611f21a380330e4c930dc /sway/commands/output.c
parent18ce0eec608d066565dda3a9a6454f67007116e5 (diff)
Implement output toggle
discussed in #4136, this can't handle wildcard but won't crash.
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r--sway/commands/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c
index 6b9eafdb..3903f10d 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -19,6 +19,7 @@ static struct cmd_handler output_handlers[] = {
{ "resolution", output_cmd_mode },
{ "scale", output_cmd_scale },
{ "subpixel", output_cmd_subpixel },
+ { "toggle", output_cmd_toggle },
{ "transform", output_cmd_transform },
};