Adds display-testing functionallity to request handler
This commit is contained in:
@@ -230,6 +230,12 @@ boost::optional<Poco::JSON::Object> OutputRequestHandler::parseDisplay(const std
|
||||
return response;
|
||||
}
|
||||
|
||||
if (display_name == "test")
|
||||
{
|
||||
this->output_driver->rotate_displays();
|
||||
return response;
|
||||
}
|
||||
|
||||
auto opt_display = this->output_driver->get_display(display_name);
|
||||
|
||||
if(!opt_display)
|
||||
|
||||
Reference in New Issue
Block a user