mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -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
|
|
@ -31,7 +31,7 @@ struct sway_output {
|
|||
int lx, ly;
|
||||
int width, height;
|
||||
|
||||
bool enabled;
|
||||
bool enabled, configured;
|
||||
list_t *workspaces;
|
||||
|
||||
struct sway_output_state current;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue