Fix #813
This commit is contained in:
+4
-5
@@ -107,15 +107,14 @@ namespace proc {
|
|||||||
std::string display_name;
|
std::string display_name;
|
||||||
std::string initial_display;
|
std::string initial_display;
|
||||||
std::string mode_changed_display;
|
std::string mode_changed_display;
|
||||||
bool initial_hdr;
|
bool initial_hdr = false;
|
||||||
bool virtual_display;
|
bool virtual_display = false;
|
||||||
bool allow_client_commands;
|
bool allow_client_commands = false;
|
||||||
|
|
||||||
proc_t(
|
proc_t(
|
||||||
boost::process::v1::environment &&env,
|
boost::process::v1::environment &&env,
|
||||||
std::vector<ctx_t> &&apps
|
std::vector<ctx_t> &&apps
|
||||||
):
|
):
|
||||||
_app_id(0),
|
|
||||||
_env(std::move(env)),
|
_env(std::move(env)),
|
||||||
_apps(std::move(apps)) {
|
_apps(std::move(apps)) {
|
||||||
}
|
}
|
||||||
@@ -142,7 +141,7 @@ namespace proc {
|
|||||||
void terminate(bool immediate = false, bool needs_refresh = true);
|
void terminate(bool immediate = false, bool needs_refresh = true);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int _app_id;
|
int _app_id = 0;
|
||||||
std::string _app_name;
|
std::string _app_name;
|
||||||
|
|
||||||
boost::process::v1::environment _env;
|
boost::process::v1::environment _env;
|
||||||
|
|||||||
Reference in New Issue
Block a user