summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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();
}
}