Add command to set output format

This commit is contained in:
Andri Yngvason 2024-01-05 17:41:53 +00:00
parent c5fd8c050f
commit f1abe47b76
6 changed files with 62 additions and 2 deletions

View file

@ -298,6 +298,7 @@ sway_cmd output_cmd_subpixel;
sway_cmd output_cmd_toggle;
sway_cmd output_cmd_transform;
sway_cmd output_cmd_unplug;
sway_cmd output_cmd_color_format;
sway_cmd seat_cmd_attach;
sway_cmd seat_cmd_cursor;

View file

@ -285,6 +285,7 @@ struct output_config {
int max_render_time; // In milliseconds
int adaptive_sync;
enum render_bit_depth render_bit_depth;
enum wlr_output_color_format color_format;
char *background;
char *background_option;