refactor: Get process IDs by iterating /proc. Improve readability in JsonConnection option handling. (#843)

Co-authored-by: brindosch <edeltraud70@gmx.de>
This commit is contained in:
Murat Seker
2020-06-29 22:55:12 +02:00
committed by GitHub
parent 26813be36a
commit 6cf9dfaa68
7 changed files with 60 additions and 107 deletions

View File

@@ -67,8 +67,8 @@ int main(int argc, char ** argv)
parser.isSet(argCropBottom) ? argCropBottom.getInt(parser) : argCropHeight.getInt(parser),
argSizeDecimation.getInt(parser)); // decimation
if (!x11Wrapper.displayInit())
return -1;
if (!x11Wrapper.displayInit())
return -1;
if (parser.isSet(argScreenshot))
{