summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-02-05 11:10:15 +0100
committerFurkan Sahin <furkan-dev@proton.me>2024-02-05 11:10:15 +0100
commit4dbcd22b72e2bd5ceac6f0c524705aeaa767d9b4 (patch)
tree9960766f41a9b4041b69f7d3455cc9efcdc2e97a
parent29c0efeeb371799daebfa29d06bb6306af46bc38 (diff)
commands: make primary_selection a config-only command
It's not possible to switch this at runtime. (cherry picked from commit 93d391651c1ad43eb8b54449769e034eb1f2380c)
-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[] = {
{ "no_focus", cmd_no_focus },
{ "output", cmd_output },
{ "popup_during_fullscreen", cmd_popup_during_fullscreen },
- { "primary_selection", cmd_primary_selection },
{ "seat", cmd_seat },
{ "set", cmd_set },
{ "show_marks", cmd_show_marks },
@@ -105,6 +104,7 @@ static const struct cmd_handler handlers[] = {
static const struct cmd_handler config_handlers[] = {
{ "default_orientation", cmd_default_orientation },
{ "include", cmd_include },
+ { "primary_selection", cmd_primary_selection },
{ "swaybg_command", cmd_swaybg_command },
{ "swaynag_command", cmd_swaynag_command },
{ "workspace_layout", cmd_workspace_layout },