diff options
author | Simon Rettberg | 2019-02-26 11:22:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-26 11:22:50 +0100 |
commit | 873a955b60f26fc682dd3a2d079c4885d373c126 (patch) | |
tree | 729bc2420698ec44e08597e2a7f3ea78d51e2156 /src/main.cpp | |
parent | DEBUG SPAAAM (diff) | |
download | beamergui-873a955b60f26fc682dd3a2d079c4885d373c126.tar.gz beamergui-873a955b60f26fc682dd3a2d079c4885d373c126.tar.xz beamergui-873a955b60f26fc682dd3a2d079c4885d373c126.zip |
Show GUI on startup with auto-setup if there's a screen without EDID
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index db82370..ac28a68 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -70,7 +70,7 @@ int main(int argc, char *argv[]) Widget *w = nullptr; if (CommandLine::backgroundMode() || CommandLine::showGui()) { w = new Widget(); - if (CommandLine::showGui()) { + if (CommandLine::showGui() || ScreenSetup::inst()->hasScreenWithoutEdid()) { w->show(); } } |