summaryrefslogtreecommitdiff
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorDavid Rosca <[email protected]>2021-07-18 12:05:47 +0200
committerSimon Ser <[email protected]>2021-08-31 17:29:40 +0200
commit57d6f6f19e3088dcb8e202acade8c39a80075b4a (patch)
treea1efb14a17b60ac278c1221ed907671a822dabfd /sway/commands/output.c
parentdaaec72ac01f66fda8b3eabe6e11e461f2e0f31d (diff)
Add `output modeline` command
Only works with DRM backend.
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 4418f23f..d8ef2885 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -15,6 +15,7 @@ static const struct cmd_handler output_handlers[] = {
{ "enable", output_cmd_enable },
{ "max_render_time", output_cmd_max_render_time },
{ "mode", output_cmd_mode },
+ { "modeline", output_cmd_modeline },
{ "pos", output_cmd_position },
{ "position", output_cmd_position },
{ "res", output_cmd_mode },