mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Implement output configuration through config
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc @Cloudef)
This commit is contained in:
parent
ade634bb04
commit
b7f4607544
5 changed files with 131 additions and 32 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue