mirror of
https://github.com/swaywm/sway.git
synced 2025-11-18 06:59:48 -05:00
Better handle outputs without CRTC
This happens if you plug in more outputs than supported by your GPU. This patch makes it so outputs without CRTCs appear as disabled. As soon as they get a CRTC (signalled via the mode event), we can enable them.
This commit is contained in:
parent
dc1eac0cf1
commit
a737d7ecc4
5 changed files with 47 additions and 15 deletions
|
|
@ -568,7 +568,7 @@ struct output_config *new_output_config(const char *name);
|
|||
|
||||
void merge_output_config(struct output_config *dst, struct output_config *src);
|
||||
|
||||
void apply_output_config(struct output_config *oc, struct sway_output *output);
|
||||
bool apply_output_config(struct output_config *oc, struct sway_output *output);
|
||||
|
||||
struct output_config *store_output_config(struct output_config *oc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue