From dae74057b3b81b5c9b7646b9c09b4549f4e35740 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Thu, 23 Jul 2020 02:21:12 -0700 Subject: 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 f20a8baa..fe1e98b5 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 }, -- cgit v1.2.3-54-g00ecf