aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2017-12-06 12:36:06 +0100
committerLibravatar emersion <contact@emersion.fr>2017-12-06 12:36:06 +0100
commitaaae59026ff3751190b93277ac6d7566e373c892 (patch)
tree2dc365f9ceeb6a08a98e08d2f79fcc940624b199 /include/sway/config.h
parentMerge pull request #1498 from emersion/config (diff)
downloadsway-aaae59026ff3751190b93277ac6d7566e373c892.tar.gz
sway-aaae59026ff3751190b93277ac6d7566e373c892.tar.zst
sway-aaae59026ff3751190b93277ac6d7566e373c892.zip
Add output config
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 7de85ab7..1b49c5c9 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -6,6 +6,7 @@
6#include <libinput.h> 6#include <libinput.h>
7#include <stdint.h> 7#include <stdint.h>
8#include <string.h> 8#include <string.h>
9#include <wayland-server.h>
9#include <wlr/types/wlr_box.h> 10#include <wlr/types/wlr_box.h>
10#include <xkbcommon/xkbcommon.h> 11#include <xkbcommon/xkbcommon.h>
11#include <time.h> 12#include <time.h>
@@ -80,8 +81,11 @@ struct output_config {
80 char *name; 81 char *name;
81 int enabled; 82 int enabled;
82 int width, height; 83 int width, height;
84 float refresh_rate;
83 int x, y; 85 int x, y;
84 int scale; 86 int scale;
87 enum wl_output_transform transform;
88
85 char *background; 89 char *background;
86 char *background_option; 90 char *background_option;
87}; 91};