aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2024-02-05 11:10:15 +0100
committerLibravatar Kenny Levinsen <kl@kl.wtf>2024-02-05 20:54:48 +0100
commit93d391651c1ad43eb8b54449769e034eb1f2380c (patch)
tree350920e203c4dfceaf2c79a4bde7a5a17e1b81e4
parentcommands: note how xwayland/primary_selection are reset on reload (diff)
downloadsway-93d391651c1ad43eb8b54449769e034eb1f2380c.tar.gz
sway-93d391651c1ad43eb8b54449769e034eb1f2380c.tar.zst
sway-93d391651c1ad43eb8b54449769e034eb1f2380c.zip
commands: make primary_selection a config-only command
It's not possible to switch this at runtime.
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 55eda183..6becf3c8 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -82,7 +82,6 @@ static const struct cmd_handler handlers[] = {
82 { "no_focus", cmd_no_focus }, 82 { "no_focus", cmd_no_focus },
83 { "output", cmd_output }, 83 { "output", cmd_output },
84 { "popup_during_fullscreen", cmd_popup_during_fullscreen }, 84 { "popup_during_fullscreen", cmd_popup_during_fullscreen },
85 { "primary_selection", cmd_primary_selection },
86 { "seat", cmd_seat }, 85 { "seat", cmd_seat },
87 { "set", cmd_set }, 86 { "set", cmd_set },
88 { "show_marks", cmd_show_marks }, 87 { "show_marks", cmd_show_marks },
@@ -105,6 +104,7 @@ static const struct cmd_handler handlers[] = {
105static const struct cmd_handler config_handlers[] = { 104static const struct cmd_handler config_handlers[] = {
106 { "default_orientation", cmd_default_orientation }, 105 { "default_orientation", cmd_default_orientation },
107 { "include", cmd_include }, 106 { "include", cmd_include },
107 { "primary_selection", cmd_primary_selection },
108 { "swaybg_command", cmd_swaybg_command }, 108 { "swaybg_command", cmd_swaybg_command },
109 { "swaynag_command", cmd_swaynag_command }, 109 { "swaynag_command", cmd_swaynag_command },
110 { "workspace_layout", cmd_workspace_layout }, 110 { "workspace_layout", cmd_workspace_layout },