even more changes

Signed-off-by: Paulchen-Panther <Paulchen--Panter@gmx.net>
This commit is contained in:
Paulchen-Panther
2018-12-28 18:12:45 +01:00
parent 3700566d10
commit 2a77f6f012
99 changed files with 2610 additions and 673 deletions

View File

@@ -36,8 +36,9 @@ bool X11Wrapper::displayInit()
void X11Wrapper::capture()
{
_grabber.grabFrame(_screenshot, true);
_grabber.grabFrame(_screenshot, !_inited);
emit sig_screenshot(_screenshot);
_inited = true;
}
void X11Wrapper::setVideoMode(const VideoMode mode)

View File

@@ -50,4 +50,7 @@ private:
X11Grabber _grabber;
Image<ColorRgb> _screenshot;
// prevent cont dimension updates
bool _inited = false;
};