From 66609a03a0457f5271e2556ffca35f496e29efc2 Mon Sep 17 00:00:00 2001 From: Paulchen-Panther Date: Thu, 21 Jan 2016 16:41:37 +0100 Subject: [PATCH] Update X11Wrapper.cpp Former-commit-id: f644a24c77db18feb34526aa937f12700865f5be --- src/hyperion-x11/X11Wrapper.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hyperion-x11/X11Wrapper.cpp b/src/hyperion-x11/X11Wrapper.cpp index 6f33cc61..a0489fdf 100644 --- a/src/hyperion-x11/X11Wrapper.cpp +++ b/src/hyperion-x11/X11Wrapper.cpp @@ -29,6 +29,11 @@ void X11Wrapper::stop() _timer.stop(); } +bool X11Wrapper::displayInit() +{ + return _grabber.Setup(); +} + void X11Wrapper::capture() { const Image & screenshot = _grabber.grab();