From dae74057b3b81b5c9b7646b9c09b4549f4e35740 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Thu, 23 Jul 2020 02:21:12 -0700 Subject: [PATCH] commands: disallow runtime include --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/commands.c b/sway/commands.c index f20a8baa8..fe1e98b53 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -72,7 +72,6 @@ static struct cmd_handler handlers[] = { { "fullscreen", cmd_fullscreen }, { "gaps", cmd_gaps }, { "hide_edge_borders", cmd_hide_edge_borders }, - { "include", cmd_include }, { "input", cmd_input }, { "mode", cmd_mode }, { "mouse_warping", cmd_mouse_warping }, @@ -101,6 +100,7 @@ static struct cmd_handler handlers[] = { /* Config-time only commands. Keep alphabetized */ static struct cmd_handler config_handlers[] = { { "default_orientation", cmd_default_orientation }, + { "include", cmd_include }, { "swaybg_command", cmd_swaybg_command }, { "swaynag_command", cmd_swaynag_command }, { "workspace_layout", cmd_workspace_layout },