From bfa4185b9adbe877d55430bba4b3afa3152383af Mon Sep 17 00:00:00 2001 From: Paulchen-Panther Date: Thu, 21 Jan 2016 16:42:30 +0100 Subject: [PATCH] Update hyperion-x11.cpp Former-commit-id: 6fa337290c285d32a2fcc1b180c80d2849334bb8 --- src/hyperion-x11/hyperion-x11.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hyperion-x11/hyperion-x11.cpp b/src/hyperion-x11/hyperion-x11.cpp index 449f3990..7815aa34 100644 --- a/src/hyperion-x11/hyperion-x11.cpp +++ b/src/hyperion-x11/hyperion-x11.cpp @@ -77,6 +77,9 @@ int main(int argc, char ** argv) argCropBottom.getValue(), argSizeDecimation.getValue(), // horizontal decimation argSizeDecimation.getValue()); // vertical decimation + + if (!x11Wrapper.displayInit()) + return -1; if (argScreenshot.isSet()) {