aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 29a6bec3..4be40870 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -282,6 +282,7 @@ sway_cmd output_cmd_dpms;
sway_cmd output_cmd_enable;
sway_cmd output_cmd_max_render_time;
sway_cmd output_cmd_mode;
+sway_cmd output_cmd_modeline;
sway_cmd output_cmd_position;
sway_cmd output_cmd_scale;
sway_cmd output_cmd_scale_filter;
diff --git a/include/sway/config.h b/include/sway/config.h
index d6c29fe6..52867fa6 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -8,6 +8,7 @@
#include <wlr/types/wlr_tablet_tool.h>
#include <wlr/util/box.h>
#include <xkbcommon/xkbcommon.h>
+#include <xf86drmMode.h>
#include "../include/config.h"
#include "list.h"
#include "swaynag.h"
@@ -257,6 +258,7 @@ struct output_config {
int width, height;
float refresh_rate;
int custom_mode;
+ drmModeModeInfo drm_mode;
int x, y;
float scale;
enum scale_filter_mode scale_filter;