diff options
author | Simon Rettberg | 2021-11-23 11:00:59 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-11-23 11:00:59 +0100 |
commit | a2fa6d9016c57f4b98ca6b8d8130fd5045ff4cc0 (patch) | |
tree | 695d6b339d4cbdc9bf3bdf693f50b18e4bb314d6 | |
parent | More fallback special case workaroud stuff (diff) | |
download | beamergui-29r2.tar.gz beamergui-29r2.tar.xz beamergui-29r2.zip |
-rw-r--r-- | src/xx.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -330,8 +330,12 @@ bool ScreenSetup::hasScreenWithoutEdid() for (auto oi : a->_outputMap) { // no preferred modes pretty much means no EDID, although technically I think you could have EDID // that doesn't provide a preferred mode... - if (oi->output != nullptr && oi->output->connection != RR_Disconnected && oi->output->npreferred == 0) + if (oi->output != nullptr && oi->output->connection != RR_Disconnected && oi->output->npreferred == 0) { + qDebug() << oi->outputName << "has no EDID (status" << + (oi->output->connection == RR_Connected ? "Connected" : + (oi->output->connection == RR_Disconnected ? "Disconnected" : "Unknown")) << "), showing GUI"; return true; + } } return false; } |