Implement output configuration through config

Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
This commit is contained in:
Drew DeVault 2015-08-22 11:18:55 -04:00
parent ade634bb04
commit b7f4607544
5 changed files with 131 additions and 32 deletions

View file

@ -22,6 +22,12 @@ struct sway_mode {
list_t *bindings;
};
struct output_config {
char *name;
int width, height;
int x, y;
};
struct workspace_output {
char *output;
char *workspace;
@ -32,6 +38,7 @@ struct sway_config {
list_t *modes;
list_t *cmd_queue;
list_t *workspace_outputs;
list_t *output_configs;
struct sway_mode *current_mode;
uint32_t floating_mod;