mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix crash on startup X server is not available (#895)
This commit is contained in:
@@ -25,8 +25,11 @@ void X11Wrapper::action()
|
||||
}
|
||||
}
|
||||
|
||||
if (_grabber.updateScreenDimensions() >= 0 )
|
||||
if (isActive())
|
||||
{
|
||||
transferFrame(_grabber);
|
||||
if (_grabber.updateScreenDimensions() >= 0 )
|
||||
{
|
||||
transferFrame(_grabber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user