Add always use virtual display option for clients
This commit is contained in:
@@ -869,6 +869,7 @@ namespace confighttp {
|
||||
std::string display_mode = input_tree.value("display_mode", "");
|
||||
bool enable_legacy_ordering = input_tree.value("enable_legacy_ordering", true);
|
||||
bool allow_client_commands = input_tree.value("allow_client_commands", true);
|
||||
bool always_use_virtual_display = input_tree.value("always_use_virtual_display", false);
|
||||
auto do_cmds = nvhttp::extract_command_entries(input_tree, "do");
|
||||
auto undo_cmds = nvhttp::extract_command_entries(input_tree, "undo");
|
||||
auto perm = static_cast<crypto::PERM>(input_tree.value("perm", static_cast<uint32_t>(crypto::PERM::_no)) & static_cast<uint32_t>(crypto::PERM::_all));
|
||||
@@ -880,7 +881,8 @@ namespace confighttp {
|
||||
undo_cmds,
|
||||
perm,
|
||||
enable_legacy_ordering,
|
||||
allow_client_commands
|
||||
allow_client_commands,
|
||||
always_use_virtual_display
|
||||
);
|
||||
send_response(response, output_tree);
|
||||
} catch (std::exception &e) {
|
||||
|
||||
Reference in New Issue
Block a user